diff options
| author | 2010-05-15 15:51:22 +0200 | |
|---|---|---|
| committer | 2010-05-15 15:51:22 +0200 | |
| commit | ff8a02b0613d37d61ccc7564dbfcde7b2d912b7f (patch) | |
| tree | 5d3d2d27fdf4331b0be69ffe8da7b37025b1a955 /include | |
| parent | 6820b067e3f0282e38b7450f46c6fcb8167a573b (diff) | |
| download | libimobiledevice-ff8a02b0613d37d61ccc7564dbfcde7b2d912b7f.tar.gz libimobiledevice-ff8a02b0613d37d61ccc7564dbfcde7b2d912b7f.tar.bz2 | |
Add documentation for mobilesync API
Diffstat (limited to 'include')
| -rw-r--r-- | include/libimobiledevice/mobilesync.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h index 1422399..6e2d8b4 100644 --- a/include/libimobiledevice/mobilesync.h +++ b/include/libimobiledevice/mobilesync.h | |||
| @@ -46,10 +46,11 @@ extern "C" { | |||
| 46 | #define MOBILESYNC_E_UNKNOWN_ERROR -256 | 46 | #define MOBILESYNC_E_UNKNOWN_ERROR -256 |
| 47 | /*@}*/ | 47 | /*@}*/ |
| 48 | 48 | ||
| 49 | /** The sync type of the current sync session. */ | ||
| 49 | typedef enum { | 50 | typedef enum { |
| 50 | MOBILESYNC_SYNC_TYPE_FAST, | 51 | MOBILESYNC_SYNC_TYPE_FAST, /**< Fast-sync requires that only the changes made since the last synchronization should be reported by the computer. */ |
| 51 | MOBILESYNC_SYNC_TYPE_SLOW, | 52 | MOBILESYNC_SYNC_TYPE_SLOW, /**< Slow-sync requires that all data from the computer needs to be synchronized/sent. */ |
| 52 | MOBILESYNC_SYNC_TYPE_RESET | 53 | MOBILESYNC_SYNC_TYPE_RESET /**< Reset-sync signals that the computer should send all data again. */ |
| 53 | } mobilesync_sync_type_t; | 54 | } mobilesync_sync_type_t; |
| 54 | 55 | ||
| 55 | /** Represents an error code. */ | 56 | /** Represents an error code. */ |
| @@ -62,7 +63,7 @@ typedef struct { | |||
| 62 | char *device_anchor; | 63 | char *device_anchor; |
| 63 | char *computer_anchor; | 64 | char *computer_anchor; |
| 64 | } mobilesync_anchors; | 65 | } mobilesync_anchors; |
| 65 | typedef mobilesync_anchors *mobilesync_anchors_t; | 66 | typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the device and computer. */ |
| 66 | 67 | ||
| 67 | /* Interface */ | 68 | /* Interface */ |
| 68 | mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, mobilesync_client_t * client); | 69 | mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, mobilesync_client_t * client); |
