summaryrefslogtreecommitdiffstats
path: root/src/iphone.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-12-13 12:21:03 +0100
committerGravatar Jonathan Beck2008-12-13 12:21:03 +0100
commit3fdd24aea06a9bf38d9d34fb8bccbb7023ed3100 (patch)
tree1080d26eca01c885efb33f3f98821a981a25e8b4 /src/iphone.h
parent3d8ba053deeacd74e621469d3d45d1db38ee411a (diff)
downloadlibplist-3fdd24aea06a9bf38d9d34fb8bccbb7023ed3100.tar.gz
libplist-3fdd24aea06a9bf38d9d34fb8bccbb7023ed3100.tar.bz2
Fork libiphone and remove anything non plist specific.
Update library and make related files acordingly .
Diffstat (limited to 'src/iphone.h')
-rw-r--r--src/iphone.h45
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
36struct iphone_device_int {
37 char *buffer;
38 struct usb_dev_handle *device;
39 struct usb_device *__device;
40};
41
42// Function definitions
43int send_to_phone(iphone_device_t phone, char *data, int datalen);
44int recv_from_phone(iphone_device_t phone, char *data, int datalen);
45#endif