diff options
Diffstat (limited to 'src/iphone.h')
| -rw-r--r-- | src/iphone.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/iphone.h b/src/iphone.h index 6e14280..98b0ed8 100644 --- a/src/iphone.h +++ b/src/iphone.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * iphone.h | 2 | * iphone.h |
| 3 | * iPhone struct | 3 | * Device discovery and communication interface -- header file. |
| 4 | * | 4 | * |
| 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. | 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. |
| 6 | * | 6 | * |
| 7 | * This library is free software; you can redistribute it and/or | 7 | * This library is free software; you can redistribute it and/or |
| @@ -18,18 +18,24 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | |||
| 22 | #ifndef IPHONE_H | 21 | #ifndef IPHONE_H |
| 23 | #define IPHONE_H | 22 | #define IPHONE_H |
| 24 | 23 | ||
| 25 | #include <stdint.h> | ||
| 26 | |||
| 27 | #include "libiphone/libiphone.h" | 24 | #include "libiphone/libiphone.h" |
| 28 | 25 | ||
| 26 | enum connection_type { | ||
| 27 | CONNECTION_USBMUXD = 1 | ||
| 28 | }; | ||
| 29 | |||
| 30 | struct iphone_connection_int { | ||
| 31 | enum connection_type type; | ||
| 32 | void *data; | ||
| 33 | }; | ||
| 34 | |||
| 29 | struct iphone_device_int { | 35 | struct iphone_device_int { |
| 30 | char *buffer; | 36 | char *uuid; |
| 31 | uint32_t handle; | 37 | enum connection_type conn_type; |
| 32 | char *serial_number; | 38 | void *conn_data; |
| 33 | }; | 39 | }; |
| 34 | 40 | ||
| 35 | #endif | 41 | #endif |
