diff options
Diffstat (limited to 'src/iphone.h')
| -rw-r--r-- | src/iphone.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/iphone.h b/src/iphone.h deleted file mode 100644 index 222a1be..0000000 --- a/src/iphone.h +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * iphone.h | ||
| 3 | * iPhone struct | ||
| 4 | * | ||
| 5 | * Copyright (c) 2008 Zach C. All Rights Reserved. | ||
| 6 | * | ||
| 7 | * This library is free software; you can redistribute it and/or | ||
| 8 | * modify it under the terms of the GNU Lesser General Public | ||
| 9 | * License as published by the Free Software Foundation; either | ||
| 10 | * version 2.1 of the License, or (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This library is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 15 | * Lesser General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU Lesser General Public | ||
| 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 | ||
| 20 | */ | ||
| 21 | |||
| 22 | #ifndef IPHONE_H | ||
| 23 | #define IPHONE_H | ||
| 24 | |||
| 25 | #ifndef USBMUX_H | ||
| 26 | #include "usbmux.h" | ||
| 27 | #warning usbmux not included? | ||
| 28 | #endif | ||
| 29 | |||
| 30 | #include <usb.h> | ||
| 31 | #include <libiphone/libiphone.h> | ||
| 32 | |||
| 33 | #define BULKIN 0x85 | ||
| 34 | #define BULKOUT 0x04 | ||
| 35 | |||
| 36 | struct iphone_device_int { | ||
| 37 | char *buffer; | ||
| 38 | struct usb_dev_handle *device; | ||
| 39 | struct usb_device *__device; | ||
| 40 | }; | ||
| 41 | |||
| 42 | // Function definitions | ||
| 43 | int send_to_phone(iphone_device_t phone, char *data, int datalen); | ||
| 44 | int recv_from_phone(iphone_device_t phone, char *data, int datalen); | ||
| 45 | #endif | ||
