summaryrefslogtreecommitdiffstats
path: root/include/libimobiledevice
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-03-16 02:47:27 +0100
committerGravatar Martin Szulecki2010-03-16 02:47:27 +0100
commit535af4c6a44c1dcf36d2da1ef0d33c69763bd186 (patch)
treeac8cfe6a71ed197584a60d2bc76be6b8fa5cca88 /include/libimobiledevice
parentdd48a2c0051be9e0f7a8ae99b035ee3c3a333dd4 (diff)
downloadlibimobiledevice-535af4c6a44c1dcf36d2da1ef0d33c69763bd186.tar.gz
libimobiledevice-535af4c6a44c1dcf36d2da1ef0d33c69763bd186.tar.bz2
Rename the *_int to *_private for better semantic and fix public typedefs
This changes the typedef logic slightly for the public headers in order for doxygen to correctly pickup and enable the client struct documentation.
Diffstat (limited to 'include/libimobiledevice')
-rw-r--r--include/libimobiledevice/afc.h4
-rw-r--r--include/libimobiledevice/file_relay.h4
-rw-r--r--include/libimobiledevice/installation_proxy.h4
-rw-r--r--include/libimobiledevice/libimobiledevice.h8
-rw-r--r--include/libimobiledevice/lockdown.h4
-rw-r--r--include/libimobiledevice/mobile_image_mounter.h4
-rw-r--r--include/libimobiledevice/mobilebackup.h4
-rw-r--r--include/libimobiledevice/mobilesync.h4
-rw-r--r--include/libimobiledevice/notification_proxy.h4
-rw-r--r--include/libimobiledevice/sbservices.h4
-rw-r--r--include/libimobiledevice/screenshotr.h4
11 files changed, 24 insertions, 24 deletions
diff --git a/include/libimobiledevice/afc.h b/include/libimobiledevice/afc.h
index 5b61499..790df3d 100644
--- a/include/libimobiledevice/afc.h
+++ b/include/libimobiledevice/afc.h
@@ -83,8 +83,8 @@ typedef enum {
AFC_LOCK_UN = 8 | 4 // unlock
} afc_lock_op_t;
-struct afc_client_int;
-typedef struct afc_client_int *afc_client_t;
+typedef struct afc_client_private afc_client_private;
+typedef afc_client_private *afc_client_t; /**< The client handle. */
/* Interface */
afc_error_t afc_client_new(idevice_t device, uint16_t port, afc_client_t *client);
diff --git a/include/libimobiledevice/file_relay.h b/include/libimobiledevice/file_relay.h
index 268eed8..dd65b38 100644
--- a/include/libimobiledevice/file_relay.h
+++ b/include/libimobiledevice/file_relay.h
@@ -41,8 +41,8 @@ extern "C" {
typedef int16_t file_relay_error_t;
-struct file_relay_client_int;
-typedef struct file_relay_client_int *file_relay_client_t;
+typedef struct file_relay_client_private file_relay_client_private;
+typedef file_relay_client_private *file_relay_client_t; /**< The client handle. */
file_relay_error_t file_relay_client_new(idevice_t device, uint16_t port, file_relay_client_t *client);
file_relay_error_t file_relay_client_free(file_relay_client_t client);
diff --git a/include/libimobiledevice/installation_proxy.h b/include/libimobiledevice/installation_proxy.h
index 22e76b1..8a7cfb9 100644
--- a/include/libimobiledevice/installation_proxy.h
+++ b/include/libimobiledevice/installation_proxy.h
@@ -42,8 +42,8 @@ extern "C" {
typedef int16_t instproxy_error_t;
-struct instproxy_client_int;
-typedef struct instproxy_client_int *instproxy_client_t;
+typedef struct instproxy_client_private instproxy_client_private;
+typedef instproxy_client_private *instproxy_client_t; /**< The client handle. */
typedef void (*instproxy_status_cb_t) (const char *operation, plist_t status);
diff --git a/include/libimobiledevice/libimobiledevice.h b/include/libimobiledevice/libimobiledevice.h
index 87b078a..73e82fe 100644
--- a/include/libimobiledevice/libimobiledevice.h
+++ b/include/libimobiledevice/libimobiledevice.h
@@ -43,11 +43,11 @@ extern "C" {
typedef int16_t idevice_error_t;
-struct idevice_int;
-typedef struct idevice_int *idevice_t;
+typedef struct idevice_private idevice_private;
+typedef idevice_private *idevice_t; /**< The device handle. */
-struct idevice_connection_int;
-typedef struct idevice_connection_int *idevice_connection_t;
+typedef struct idevice_connection_private idevice_connection_private;
+typedef idevice_connection_private *idevice_connection_t; /**< The connection handle. */
/* generic */
void idevice_set_debug_level(int level);
diff --git a/include/libimobiledevice/lockdown.h b/include/libimobiledevice/lockdown.h
index bfdffad..6abf6d6 100644
--- a/include/libimobiledevice/lockdown.h
+++ b/include/libimobiledevice/lockdown.h
@@ -55,8 +55,8 @@ extern "C" {
typedef int16_t lockdownd_error_t;
-struct lockdownd_client_int;
-typedef struct lockdownd_client_int *lockdownd_client_t;
+typedef struct lockdownd_client_private lockdownd_client_private;
+typedef lockdownd_client_private *lockdownd_client_t; /**< The client handle. */
struct lockdownd_pair_record {
char *device_certificate;
diff --git a/include/libimobiledevice/mobile_image_mounter.h b/include/libimobiledevice/mobile_image_mounter.h
index 63dcb14..5681d8b 100644
--- a/include/libimobiledevice/mobile_image_mounter.h
+++ b/include/libimobiledevice/mobile_image_mounter.h
@@ -39,8 +39,8 @@ extern "C" {
typedef int16_t mobile_image_mounter_error_t;
-struct mobile_image_mounter_client_int;
-typedef struct mobile_image_mounter_client_int *mobile_image_mounter_client_t;
+typedef struct mobile_image_mounter_client_private mobile_image_mounter_client_private;
+typedef mobile_image_mounter_client_private *mobile_image_mounter_client_t; /**< The client handle. */
/* Interface */
mobile_image_mounter_error_t mobile_image_mounter_new(idevice_t device, uint16_t port, mobile_image_mounter_client_t *client);
diff --git a/include/libimobiledevice/mobilebackup.h b/include/libimobiledevice/mobilebackup.h
index e29dbf4..d6f9013 100644
--- a/include/libimobiledevice/mobilebackup.h
+++ b/include/libimobiledevice/mobilebackup.h
@@ -41,8 +41,8 @@ extern "C" {
typedef int16_t mobilebackup_error_t;
-struct mobilebackup_client_int;
-typedef struct mobilebackup_client_int *mobilebackup_client_t;
+typedef struct mobilebackup_client_private mobilebackup_client_private;
+typedef mobilebackup_client_private *mobilebackup_client_t; /**< The client handle. */
mobilebackup_error_t mobilebackup_client_new(idevice_t device, uint16_t port, mobilebackup_client_t * client);
mobilebackup_error_t mobilebackup_client_free(mobilebackup_client_t client);
diff --git a/include/libimobiledevice/mobilesync.h b/include/libimobiledevice/mobilesync.h
index 349b6a3..2e330ee 100644
--- a/include/libimobiledevice/mobilesync.h
+++ b/include/libimobiledevice/mobilesync.h
@@ -40,8 +40,8 @@ extern "C" {
typedef int16_t mobilesync_error_t;
-struct mobilesync_client_int;
-typedef struct mobilesync_client_int *mobilesync_client_t;
+typedef struct mobilesync_client_private mobilesync_client_private;
+typedef mobilesync_client_private *mobilesync_client_t; /**< The client handle */
mobilesync_error_t mobilesync_client_new(idevice_t device, uint16_t port, mobilesync_client_t * client);
mobilesync_error_t mobilesync_client_free(mobilesync_client_t client);
diff --git a/include/libimobiledevice/notification_proxy.h b/include/libimobiledevice/notification_proxy.h
index 4f4c1fd..fa69088 100644
--- a/include/libimobiledevice/notification_proxy.h
+++ b/include/libimobiledevice/notification_proxy.h
@@ -68,8 +68,8 @@ typedef int16_t np_error_t;
#define NP_LANGUAGE_CHANGED "com.apple.language.changed"
#define NP_ADDRESS_BOOK_PREF_CHANGED "com.apple.AddressBook.PreferenceChanged"
-struct np_client_int;
-typedef struct np_client_int *np_client_t;
+typedef struct np_client_private np_client_private;
+typedef np_client_private *np_client_t; /**< The client handle. */
typedef void (*np_notify_cb_t) (const char *notification, void *userdata);
diff --git a/include/libimobiledevice/sbservices.h b/include/libimobiledevice/sbservices.h
index 2923082..0fcec86 100644
--- a/include/libimobiledevice/sbservices.h
+++ b/include/libimobiledevice/sbservices.h
@@ -39,8 +39,8 @@ extern "C" {
typedef int16_t sbservices_error_t;
-struct sbservices_client_int;
-typedef struct sbservices_client_int *sbservices_client_t;
+typedef struct sbservices_client_private sbservices_client_private;
+typedef sbservices_client_private *sbservices_client_t; /**< The client handle. */
/* Interface */
sbservices_error_t sbservices_client_new(idevice_t device, uint16_t port, sbservices_client_t *client);
diff --git a/include/libimobiledevice/screenshotr.h b/include/libimobiledevice/screenshotr.h
index 077f50c..d9a3ffd 100644
--- a/include/libimobiledevice/screenshotr.h
+++ b/include/libimobiledevice/screenshotr.h
@@ -40,8 +40,8 @@ extern "C" {
typedef int16_t screenshotr_error_t;
-struct screenshotr_client_int;
-typedef struct screenshotr_client_int *screenshotr_client_t;
+typedef struct screenshotr_client_private screenshotr_client_private;
+typedef screenshotr_client_private *screenshotr_client_t; /**< The client handle. */
screenshotr_error_t screenshotr_client_new(idevice_t device, uint16_t port, screenshotr_client_t * client);
screenshotr_error_t screenshotr_client_free(screenshotr_client_t client);