Allocates memory for a new anchors struct initialized with the passed anchors.
- Parameters
-
device_anchor | An anchor the device reported the last time or NULL if none is known yet which for instance is true on first synchronization. |
computer_anchor | An arbitrary string to use as anchor for the computer. |
- Returns
- A new mobilesync_anchors_t struct. Must be freed using mobilesync_anchors_free().