diff options
author | Martin Szulecki | 2010-05-15 15:51:22 +0200 |
---|---|---|
committer | Martin Szulecki | 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" { #define MOBILESYNC_E_UNKNOWN_ERROR -256 /*@}*/ +/** The sync type of the current sync session. */ typedef enum { - MOBILESYNC_SYNC_TYPE_FAST, - MOBILESYNC_SYNC_TYPE_SLOW, - MOBILESYNC_SYNC_TYPE_RESET + MOBILESYNC_SYNC_TYPE_FAST, /**< Fast-sync requires that only the changes made since the last synchronization should be reported by the computer. */ + MOBILESYNC_SYNC_TYPE_SLOW, /**< Slow-sync requires that all data from the computer needs to be synchronized/sent. */ + MOBILESYNC_SYNC_TYPE_RESET /**< Reset-sync signals that the computer should send all data again. */ } mobilesync_sync_type_t; /** Represents an error code. */ @@ -62,7 +63,7 @@ typedef struct { char *device_anchor; char *computer_anchor; } mobilesync_anchors; -typedef mobilesync_anchors *mobilesync_anchors_t; +typedef mobilesync_anchors *mobilesync_anchors_t; /**< Anchors used by the device and computer. */ /* Interface */ mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, mobilesync_client_t * client); |