diff options
author | Jonathan Beck | 2008-08-11 23:12:21 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-31 19:27:19 +0200 |
commit | 143a48bd42db0f7aa23517c6d7eec81f19fa9ce3 (patch) | |
tree | 8a172000d2ca6d7c5cba6ce581e596601f6badd6 | |
parent | bbc6306a24517ebaa1308c782579e028deeb4750 (diff) | |
download | libplist-143a48bd42db0f7aa23517c6d7eec81f19fa9ce3.tar.gz libplist-143a48bd42db0f7aa23517c6d7eec81f19fa9ce3.tar.bz2 |
use non anonymous structs so we can use opaque type on them
-rw-r--r-- | include/libiphone/libiphone.h | 4 | ||||
-rw-r--r-- | src/iphone.h | 2 | ||||
-rw-r--r-- | src/lockdown.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h index 9e559a1..7a4f224 100644 --- a/include/libiphone/libiphone.h +++ b/include/libiphone/libiphone.h @@ -30,8 +30,8 @@ extern "C" { -typedef struct iPhone *iPhone_t; -typedef struct lockdownd_client *lockdownd_client_t; +typedef struct iPhone_s *iPhone_t; +typedef struct lockdownd_client_s *lockdownd_client_t; void free_iPhone(iPhone_t victim); diff --git a/src/iphone.h b/src/iphone.h index 746941f..f12d0eb 100644 --- a/src/iphone.h +++ b/src/iphone.h @@ -33,7 +33,7 @@ #define BULKIN 0x85 #define BULKOUT 0x04 -typedef struct { +typedef struct iPhone_s { char *buffer; struct usb_dev_handle *device; struct usb_device *__device; diff --git a/src/lockdown.h b/src/lockdown.h index a16e148..b48c150 100644 --- a/src/lockdown.h +++ b/src/lockdown.h @@ -32,7 +32,7 @@ -typedef struct { +typedef struct lockdownd_client_s { usbmux_connection *connection; gnutls_session_t *ssl_session; int in_SSL; |