summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-11 23:12:21 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commit143a48bd42db0f7aa23517c6d7eec81f19fa9ce3 (patch)
tree8a172000d2ca6d7c5cba6ce581e596601f6badd6 /src
parentbbc6306a24517ebaa1308c782579e028deeb4750 (diff)
downloadlibimobiledevice-143a48bd42db0f7aa23517c6d7eec81f19fa9ce3.tar.gz
libimobiledevice-143a48bd42db0f7aa23517c6d7eec81f19fa9ce3.tar.bz2
use non anonymous structs so we can use opaque type on them
Diffstat (limited to 'src')
-rw-r--r--src/iphone.h2
-rw-r--r--src/lockdown.h2
2 files changed, 2 insertions, 2 deletions
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;