summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-26 19:58:12 +0100
committerGravatar Martin Szulecki2013-02-27 16:18:15 +0100
commitbd6a2860e9b6764c2073d1159ef3070df7f036d8 (patch)
treede2489b8469921fb67e196fd0ead88fcbdeb638b /include
parentf8066bbf5169b7d7e68771bce677355e33a595c1 (diff)
downloadlibimobiledevice-bd6a2860e9b6764c2073d1159ef3070df7f036d8.tar.gz
libimobiledevice-bd6a2860e9b6764c2073d1159ef3070df7f036d8.tar.bz2
Rename start service methods to be consistent
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice/heartbeat.h3
-rw-r--r--include/libimobiledevice/webinspector.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/libimobiledevice/heartbeat.h b/include/libimobiledevice/heartbeat.h
index e5adb0d..611a2dd 100644
--- a/include/libimobiledevice/heartbeat.h
+++ b/include/libimobiledevice/heartbeat.h
@@ -49,10 +49,9 @@ typedef struct heartbeat_client_private heartbeat_client_private;
typedef heartbeat_client_private *heartbeat_client_t; /**< The client handle. */
heartbeat_error_t heartbeat_client_new(idevice_t device, lockdownd_service_descriptor_t service, heartbeat_client_t * client);
+heartbeat_error_t heartbeat_client_start_service(idevice_t device, heartbeat_client_t * client);
heartbeat_error_t heartbeat_client_free(heartbeat_client_t client);
-heartbeat_error_t heartbeat_start_service(idevice_t device, heartbeat_client_t * client);
-
heartbeat_error_t heartbeat_send(heartbeat_client_t client, plist_t plist);
heartbeat_error_t heartbeat_receive(heartbeat_client_t client, plist_t * plist);
heartbeat_error_t heartbeat_receive_with_timeout(heartbeat_client_t client, plist_t * plist, uint32_t timeout_ms);
diff --git a/include/libimobiledevice/webinspector.h b/include/libimobiledevice/webinspector.h
index ed9faad..a6e8541 100644
--- a/include/libimobiledevice/webinspector.h
+++ b/include/libimobiledevice/webinspector.h
@@ -49,10 +49,9 @@ typedef struct webinspector_client_private webinspector_client_private;
typedef webinspector_client_private *webinspector_client_t; /**< The client handle. */
webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service_descriptor_t service, webinspector_client_t * client);
+webinspector_error_t webinspector_client_start_service(idevice_t device, webinspector_client_t * client);
webinspector_error_t webinspector_client_free(webinspector_client_t client);
-webinspector_error_t webinspector_start_service(idevice_t device, webinspector_client_t * client);
-
webinspector_error_t webinspector_send(webinspector_client_t client, plist_t plist);
webinspector_error_t webinspector_receive(webinspector_client_t client, plist_t * plist);
webinspector_error_t webinspector_receive_with_timeout(webinspector_client_t client, plist_t * plist, uint32_t timeout_ms);