diff options
author | Martin Szulecki | 2013-08-05 20:07:04 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-08-05 20:07:04 +0200 |
commit | 3604756139b1a2dde383122745d37fe9d1c95f88 (patch) | |
tree | 84f7a312bfc539abc8c7e78d99fcd9c8608f6a9c /include/libimobiledevice/mobilebackup2.h | |
parent | d0635a7dc686e21d3eea6bf1c030657d6d575562 (diff) | |
download | libimobiledevice-3604756139b1a2dde383122745d37fe9d1c95f88.tar.gz libimobiledevice-3604756139b1a2dde383122745d37fe9d1c95f88.tar.bz2 |
Implement *_start_service() helper to simplify creation of service clients
Diffstat (limited to 'include/libimobiledevice/mobilebackup2.h')
-rw-r--r-- | include/libimobiledevice/mobilebackup2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libimobiledevice/mobilebackup2.h b/include/libimobiledevice/mobilebackup2.h index 42d41a8..65bbfc7 100644 --- a/include/libimobiledevice/mobilebackup2.h +++ b/include/libimobiledevice/mobilebackup2.h @@ -52,7 +52,9 @@ typedef struct mobilebackup2_client_private mobilebackup2_client_private; typedef mobilebackup2_client_private *mobilebackup2_client_t; /**< The client handle. */ mobilebackup2_error_t mobilebackup2_client_new(idevice_t device, lockdownd_service_descriptor_t service, mobilebackup2_client_t * client); +mobilebackup2_error_t mobilebackup2_client_start_service(idevice_t device, mobilebackup2_client_t* client, const char* label); mobilebackup2_error_t mobilebackup2_client_free(mobilebackup2_client_t client); + mobilebackup2_error_t mobilebackup2_send_message(mobilebackup2_client_t client, const char *message, plist_t options); mobilebackup2_error_t mobilebackup2_receive_message(mobilebackup2_client_t client, plist_t *msg_plist, char **dlmessage); mobilebackup2_error_t mobilebackup2_send_raw(mobilebackup2_client_t client, const char *data, uint32_t length, uint32_t *bytes); |