From d0635a7dc686e21d3eea6bf1c030657d6d575562 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Mon, 5 Aug 2013 20:01:35 +0200 Subject: Add public *_SERVICE_NAME defines for each service --- include/libimobiledevice/afc.h | 2 ++ include/libimobiledevice/diagnostics_relay.h | 2 ++ include/libimobiledevice/file_relay.h | 2 ++ include/libimobiledevice/house_arrest.h | 2 ++ include/libimobiledevice/installation_proxy.h | 2 ++ include/libimobiledevice/misagent.h | 2 ++ include/libimobiledevice/mobile_image_mounter.h | 2 ++ include/libimobiledevice/mobilebackup.h | 2 ++ include/libimobiledevice/mobilebackup2.h | 2 ++ include/libimobiledevice/mobilesync.h | 2 ++ include/libimobiledevice/notification_proxy.h | 2 ++ include/libimobiledevice/sbservices.h | 2 ++ include/libimobiledevice/screenshotr.h | 2 ++ 13 files changed, 26 insertions(+) diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h index faf1b10..8cddcf0 100644 --- a/include/libimobiledevice/afc.h +++ b/include/libimobiledevice/afc.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define AFC_SERVICE_NAME "com.apple.afc" + /** @name Error Codes */ /*@{*/ #define AFC_E_SUCCESS 0 diff --git a/include/libimobiledevice/diagnostics_relay.h b/include/libimobiledevice/diagnostics_relay.h index ec87732..a0455cb 100644 --- a/include/libimobiledevice/diagnostics_relay.h +++ b/include/libimobiledevice/diagnostics_relay.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define DIAGNOSTICS_RELAY_SERVICE_NAME "com.apple.mobile.diagnostics_relay" + /** @name Error Codes */ /*@{*/ #define DIAGNOSTICS_RELAY_E_SUCCESS 0 diff --git a/include/libimobiledevice/file_relay.h b/include/libimobiledevice/file_relay.h index 85f9213..ca18770 100644 --- a/include/libimobiledevice/file_relay.h +++ b/include/libimobiledevice/file_relay.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define FILE_RELAY_SERVICE_NAME "com.apple.mobile.file_relay" + /** @name Error Codes */ /*@{*/ #define FILE_RELAY_E_SUCCESS 0 diff --git a/include/libimobiledevice/house_arrest.h b/include/libimobiledevice/house_arrest.h index f12be26..c33c23b 100644 --- a/include/libimobiledevice/house_arrest.h +++ b/include/libimobiledevice/house_arrest.h @@ -31,6 +31,8 @@ extern "C" { #include #include +#define HOUSE_ARREST_SERVICE_NAME "com.apple.mobile.house_arrest" + /** @name Error Codes */ /*@{*/ #define HOUSE_ARREST_E_SUCCESS 0 diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h index 428d1af..3e373e3 100644 --- a/include/libimobiledevice/installation_proxy.h +++ b/include/libimobiledevice/installation_proxy.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define INSTPROXY_SERVICE_NAME "com.apple.mobile.installation_proxy" + /** @name Error Codes */ /*@{*/ #define INSTPROXY_E_SUCCESS 0 diff --git a/include/libimobiledevice/misagent.h b/include/libimobiledevice/misagent.h index bf6985f..4a198c7 100644 --- a/include/libimobiledevice/misagent.h +++ b/include/libimobiledevice/misagent.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define MISAGENT_SERVICE_NAME "com.apple.misagent" + /** @name Error Codes */ /*@{*/ #define MISAGENT_E_SUCCESS 0 diff --git a/include/libimobiledevice/mobile_image_mounter.h b/include/libimobiledevice/mobile_image_mounter.h index 6aee1e7..2b44f2e 100644 --- a/include/libimobiledevice/mobile_image_mounter.h +++ b/include/libimobiledevice/mobile_image_mounter.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define MOBILE_IMAGE_MOUNTER_SERVICE_NAME "com.apple.mobile.mobile_image_mounter" + /** @name Error Codes */ /*@{*/ #define MOBILE_IMAGE_MOUNTER_E_SUCCESS 0 diff --git a/include/libimobiledevice/mobilebackup.h b/include/libimobiledevice/mobilebackup.h index 358103d..2e2c38e 100644 --- a/include/libimobiledevice/mobilebackup.h +++ b/include/libimobiledevice/mobilebackup.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define MOBILEBACKUP_SERVICE_NAME "com.apple.mobilebackup" + /** @name Error Codes */ /*@{*/ #define MOBILEBACKUP_E_SUCCESS 0 diff --git a/include/libimobiledevice/mobilebackup2.h b/include/libimobiledevice/mobilebackup2.h index 215c339..42d41a8 100644 --- a/include/libimobiledevice/mobilebackup2.h +++ b/include/libimobiledevice/mobilebackup2.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define MOBILEBACKUP2_SERVICE_NAME "com.apple.mobilebackup2" + /** @name Error Codes */ /*@{*/ #define MOBILEBACKUP2_E_SUCCESS 0 diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h index ef1f4df..8fa4c58 100644 --- a/include/libimobiledevice/mobilesync.h +++ b/include/libimobiledevice/mobilesync.h @@ -31,6 +31,8 @@ extern "C" { #include #include +#define MOBILESYNC_SERVICE_NAME "com.apple.mobilesync" + /** @name Error Codes */ /*@{*/ #define MOBILESYNC_E_SUCCESS 0 diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h index c683564..00b0f8f 100644 --- a/include/libimobiledevice/notification_proxy.h +++ b/include/libimobiledevice/notification_proxy.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define NP_SERVICE_NAME "com.apple.mobile.notification_proxy" + /** @name Error Codes */ /*@{*/ #define NP_E_SUCCESS 0 diff --git a/include/libimobiledevice/sbservices.h b/include/libimobiledevice/sbservices.h index 93bb496..ab3e966 100644 --- a/include/libimobiledevice/sbservices.h +++ b/include/libimobiledevice/sbservices.h @@ -30,6 +30,8 @@ extern "C" { #include #include +#define SBSERVICES_SERVICE_NAME "com.apple.springboardservices" + /** @name Error Codes */ /*@{*/ #define SBSERVICES_E_SUCCESS 0 diff --git a/include/libimobiledevice/screenshotr.h b/include/libimobiledevice/screenshotr.h index b9497d0..41b7ffa 100644 --- a/include/libimobiledevice/screenshotr.h +++ b/include/libimobiledevice/screenshotr.h @@ -31,6 +31,8 @@ extern "C" { #include #include +#define SCREENSHOTR_SERVICE_NAME "com.apple.mobile.screenshotr" + /** @name Error Codes */ /*@{*/ #define SCREENSHOTR_E_SUCCESS 0 -- cgit v1.1-32-gdbae