Commit 143a48bd authored by Jonathan Beck's avatar Jonathan Beck

use non anonymous structs so we can use opaque type on them

parent bbc6306a
......@@ -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);
......
......@@ -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;
......
......@@ -32,7 +32,7 @@
typedef struct {
typedef struct lockdownd_client_s {
usbmux_connection *connection;
gnutls_session_t *ssl_session;
int in_SSL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment