summaryrefslogtreecommitdiffstats
path: root/src
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 /src
parentf8066bbf5169b7d7e68771bce677355e33a595c1 (diff)
downloadlibimobiledevice-bd6a2860e9b6764c2073d1159ef3070df7f036d8.tar.gz
libimobiledevice-bd6a2860e9b6764c2073d1159ef3070df7f036d8.tar.bz2
Rename start service methods to be consistent
Diffstat (limited to 'src')
-rw-r--r--src/heartbeat.c2
-rw-r--r--src/service.c2
-rw-r--r--src/service.h2
-rw-r--r--src/webinspector.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/heartbeat.c b/src/heartbeat.c
index c97c178..30fb8af 100644
--- a/src/heartbeat.c
+++ b/src/heartbeat.c
@@ -108,7 +108,7 @@ heartbeat_error_t heartbeat_client_new(idevice_t device, lockdownd_service_descr
* @return HEARTBEAT_E_SUCCESS on success, or an HEARTBEAT_E_* error
* code otherwise.
*/
-heartbeat_error_t heartbeat_start_service(idevice_t device, heartbeat_client_t * client)
+heartbeat_error_t heartbeat_client_start_service(idevice_t device, heartbeat_client_t * client)
{
*client = NULL;
diff --git a/src/service.c b/src/service.c
index 929beff..09a312b 100644
--- a/src/service.c
+++ b/src/service.c
@@ -101,7 +101,7 @@ service_error_t service_client_new(idevice_t device, lockdownd_service_descripto
* @return SERVICE_E_SUCCESS on success, or a SERVICE_E_* error code
* otherwise.
*/
-service_error_t service_start_service(idevice_t device, const char* service_name, service_client_t *client)
+service_error_t service_client_start_service(idevice_t device, const char* service_name, service_client_t *client)
{
*client = NULL;
diff --git a/src/service.h b/src/service.h
index e498ed7..e95d589 100644
--- a/src/service.h
+++ b/src/service.h
@@ -42,7 +42,7 @@ typedef int16_t service_error_t;
/* creation and destruction */
service_error_t service_client_new(idevice_t device, lockdownd_service_descriptor_t service, service_client_t *client);
-service_error_t service_start_service(idevice_t device, const char* service_name, service_client_t *client);
+service_error_t service_client_start_service(idevice_t device, const char* service_name, service_client_t *client);
service_error_t service_client_free(service_client_t client);
/* sending */
diff --git a/src/webinspector.c b/src/webinspector.c
index eb12d4d..1b39ea0 100644
--- a/src/webinspector.c
+++ b/src/webinspector.c
@@ -108,7 +108,7 @@ webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service
* @return WEBINSPECTOR_E_SUCCESS on success, or an WEBINSPECTOR_E_* error
* code otherwise.
*/
-webinspector_error_t webinspector_start_service(idevice_t device, webinspector_client_t * client)
+webinspector_error_t webinspector_client_start_service(idevice_t device, webinspector_client_t * client)
{
*client = NULL;