diff options
| -rw-r--r-- | README | 9 | ||||
| -rw-r--r-- | common/utils.c | 3 | ||||
| -rw-r--r-- | common/utils.h | 3 | ||||
| -rw-r--r-- | daemon/client.c | 3 | ||||
| -rw-r--r-- | daemon/client.h | 3 | ||||
| -rw-r--r-- | daemon/device.c | 2 | ||||
| -rw-r--r-- | daemon/device.h | 2 | ||||
| -rw-r--r-- | daemon/log.c | 3 | ||||
| -rw-r--r-- | daemon/log.h | 3 | ||||
| -rw-r--r-- | daemon/main.c | 4 | ||||
| -rw-r--r-- | daemon/usb-linux.c | 4 | ||||
| -rw-r--r-- | daemon/usb.h | 4 | ||||
| -rw-r--r-- | libusbmuxd/libusbmuxd.c | 23 | ||||
| -rw-r--r-- | libusbmuxd/sock_stuff.c | 23 | ||||
| -rw-r--r-- | libusbmuxd/sock_stuff.h | 23 | ||||
| -rw-r--r-- | libusbmuxd/usbmuxd-proto.h | 23 | ||||
| -rw-r--r-- | libusbmuxd/usbmuxd.h | 23 | ||||
| -rw-r--r-- | python-client/tcprelay.py | 3 | ||||
| -rw-r--r-- | python-client/usbmux.py | 3 | ||||
| -rw-r--r-- | tools/iproxy.c | 48 |
20 files changed, 177 insertions, 35 deletions
| @@ -23,6 +23,15 @@ no modification, using Apple's native usbmuxd. This is useful if you need to | |||
| 23 | tunnel to your phone from another OS in a pinch. Run python tcpclient.py --help | 23 | tunnel to your phone from another OS in a pinch. Run python tcpclient.py --help |
| 24 | for usage information. | 24 | for usage information. |
| 25 | 25 | ||
| 26 | License | ||
| 27 | ======= | ||
| 28 | |||
| 29 | The contents of this package are licensed under the GNU General Public License, | ||
| 30 | versions 2 or 3 (see COPYING.GPLv2 and COPYING.GPLv3), except for Libuxbmuxd | ||
| 31 | which is licensed under the GNU Lesser General Public License, version 2.1 or, | ||
| 32 | at your option, any later version (see COPYING.LGPLv2.1). If a more permissive | ||
| 33 | license is specified at the top of a source file, it takes precedence over this. | ||
| 34 | |||
| 26 | Building | 35 | Building |
| 27 | ======== | 36 | ======== |
| 28 | 37 | ||
diff --git a/common/utils.c b/common/utils.c index f66d889..5f5e23b 100644 --- a/common/utils.c +++ b/common/utils.c | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +15,7 @@ GNU General Public License for more details. | |||
| 14 | 15 | ||
| 15 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 19 | ||
| 19 | */ | 20 | */ |
| 20 | 21 | ||
diff --git a/common/utils.h b/common/utils.h index f9cfa93..95d3b44 100644 --- a/common/utils.h +++ b/common/utils.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +15,7 @@ GNU General Public License for more details. | |||
| 14 | 15 | ||
| 15 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 19 | ||
| 19 | */ | 20 | */ |
| 20 | 21 | ||
diff --git a/daemon/client.c b/daemon/client.c index 37f5ed6..5498586 100644 --- a/daemon/client.c +++ b/daemon/client.c | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +15,7 @@ GNU General Public License for more details. | |||
| 14 | 15 | ||
| 15 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 19 | ||
| 19 | */ | 20 | */ |
| 20 | 21 | ||
diff --git a/daemon/client.h b/daemon/client.h index 4fc1ab4..444fe15 100644 --- a/daemon/client.h +++ b/daemon/client.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +15,7 @@ GNU General Public License for more details. | |||
| 14 | 15 | ||
| 15 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 19 | ||
| 19 | */ | 20 | */ |
| 20 | 21 | ||
diff --git a/daemon/device.c b/daemon/device.c index 37c09a6..00c0340 100644 --- a/daemon/device.c +++ b/daemon/device.c | |||
| @@ -14,7 +14,7 @@ GNU General Public License for more details. | |||
| 14 | 14 | ||
| 15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 18 | ||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
diff --git a/daemon/device.h b/daemon/device.h index ce6c50b..4bf9752 100644 --- a/daemon/device.h +++ b/daemon/device.h | |||
| @@ -14,7 +14,7 @@ GNU General Public License for more details. | |||
| 14 | 14 | ||
| 15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 18 | ||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
diff --git a/daemon/log.c b/daemon/log.c index 2392b0d..1973257 100644 --- a/daemon/log.c +++ b/daemon/log.c | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +15,7 @@ GNU General Public License for more details. | |||
| 14 | 15 | ||
| 15 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 19 | ||
| 19 | */ | 20 | */ |
| 20 | 21 | ||
diff --git a/daemon/log.h b/daemon/log.h index 4a2ac2e..eeefa41 100644 --- a/daemon/log.h +++ b/daemon/log.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | 6 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +15,7 @@ GNU General Public License for more details. | |||
| 14 | 15 | ||
| 15 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 19 | ||
| 19 | */ | 20 | */ |
| 20 | 21 | ||
diff --git a/daemon/main.c b/daemon/main.c index 5fa5422..7c38166 100644 --- a/daemon/main.c +++ b/daemon/main.c | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 6 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> | ||
| 5 | 7 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +16,7 @@ GNU General Public License for more details. | |||
| 14 | 16 | ||
| 15 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 18 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 20 | ||
| 19 | */ | 21 | */ |
| 20 | 22 | ||
diff --git a/daemon/usb-linux.c b/daemon/usb-linux.c index 1f70f46..4a5711d 100644 --- a/daemon/usb-linux.c +++ b/daemon/usb-linux.c | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 6 | Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com> | ||
| 5 | 7 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +16,7 @@ GNU General Public License for more details. | |||
| 14 | 16 | ||
| 15 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 18 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 20 | ||
| 19 | */ | 21 | */ |
| 20 | 22 | ||
diff --git a/daemon/usb.h b/daemon/usb.h index 9b2cb1a..c557e45 100644 --- a/daemon/usb.h +++ b/daemon/usb.h | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon | 2 | usbmuxd - iPhone/iPod Touch USB multiplex server daemon |
| 3 | 3 | ||
| 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | 4 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> |
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 6 | Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com> | ||
| 5 | 7 | ||
| 6 | This program is free software; you can redistribute it and/or modify | 8 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| @@ -14,7 +16,7 @@ GNU General Public License for more details. | |||
| 14 | 16 | ||
| 15 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
| 16 | along with this program; if not, write to the Free Software | 18 | along with this program; if not, write to the Free Software |
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | 20 | ||
| 19 | */ | 21 | */ |
| 20 | 22 | ||
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c index 6970816..d375dd6 100644 --- a/libusbmuxd/libusbmuxd.c +++ b/libusbmuxd/libusbmuxd.c | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | /* | ||
| 2 | libusbmuxd - client library to talk to usbmuxd | ||
| 3 | |||
| 4 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> | ||
| 6 | Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com> | ||
| 7 | |||
| 8 | This library is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU Lesser General Public License as | ||
| 10 | published by the Free Software Foundation, either version 2.1 of the | ||
| 11 | License, or (at your option) any later version. | ||
| 12 | |||
| 13 | This library is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU Lesser General Public | ||
| 19 | License along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | |||
| 22 | */ | ||
| 23 | |||
| 1 | #include <stdint.h> | 24 | #include <stdint.h> |
| 2 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 3 | #include <errno.h> | 26 | #include <errno.h> |
diff --git a/libusbmuxd/sock_stuff.c b/libusbmuxd/sock_stuff.c index 2c68659..9b0266e 100644 --- a/libusbmuxd/sock_stuff.c +++ b/libusbmuxd/sock_stuff.c | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | /* | ||
| 2 | libusbmuxd - client library to talk to usbmuxd | ||
| 3 | |||
| 4 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> | ||
| 6 | Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com> | ||
| 7 | |||
| 8 | This library is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU Lesser General Public License as | ||
| 10 | published by the Free Software Foundation, either version 2.1 of the | ||
| 11 | License, or (at your option) any later version. | ||
| 12 | |||
| 13 | This library is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU Lesser General Public | ||
| 19 | License along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | |||
| 22 | */ | ||
| 23 | |||
| 1 | #include <stdio.h> | 24 | #include <stdio.h> |
| 2 | #include <stddef.h> | 25 | #include <stddef.h> |
| 3 | #include <stdlib.h> | 26 | #include <stdlib.h> |
diff --git a/libusbmuxd/sock_stuff.h b/libusbmuxd/sock_stuff.h index 190f7e1..282da68 100644 --- a/libusbmuxd/sock_stuff.h +++ b/libusbmuxd/sock_stuff.h | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | /* | ||
| 2 | libusbmuxd - client library to talk to usbmuxd | ||
| 3 | |||
| 4 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> | ||
| 6 | Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com> | ||
| 7 | |||
| 8 | This library is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU Lesser General Public License as | ||
| 10 | published by the Free Software Foundation, either version 2.1 of the | ||
| 11 | License, or (at your option) any later version. | ||
| 12 | |||
| 13 | This library is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU Lesser General Public | ||
| 19 | License along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | |||
| 22 | */ | ||
| 23 | |||
| 1 | #ifndef __SOCK_STUFF_H | 24 | #ifndef __SOCK_STUFF_H |
| 2 | #define __SOCK_STUFF_H | 25 | #define __SOCK_STUFF_H |
| 3 | 26 | ||
diff --git a/libusbmuxd/usbmuxd-proto.h b/libusbmuxd/usbmuxd-proto.h index 1ecb7bc..9d841ca 100644 --- a/libusbmuxd/usbmuxd-proto.h +++ b/libusbmuxd/usbmuxd-proto.h | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | /* | ||
| 2 | libusbmuxd - client library to talk to usbmuxd | ||
| 3 | |||
| 4 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> | ||
| 5 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 6 | Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> | ||
| 7 | |||
| 8 | This library is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU Lesser General Public License as | ||
| 10 | published by the Free Software Foundation, either version 2.1 of the | ||
| 11 | License, or (at your option) any later version. | ||
| 12 | |||
| 13 | This library is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU Lesser General Public | ||
| 19 | License along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | |||
| 22 | */ | ||
| 23 | |||
| 1 | /* Protocol defintion for usbmuxd proxy protocol */ | 24 | /* Protocol defintion for usbmuxd proxy protocol */ |
| 2 | #ifndef __USBMUXD_PROTO_H | 25 | #ifndef __USBMUXD_PROTO_H |
| 3 | #define __USBMUXD_PROTO_H | 26 | #define __USBMUXD_PROTO_H |
diff --git a/libusbmuxd/usbmuxd.h b/libusbmuxd/usbmuxd.h index f3b57b3..1bbf478 100644 --- a/libusbmuxd/usbmuxd.h +++ b/libusbmuxd/usbmuxd.h | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | /* | ||
| 2 | libusbmuxd - client library to talk to usbmuxd | ||
| 3 | |||
| 4 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> | ||
| 5 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> | ||
| 6 | Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com> | ||
| 7 | |||
| 8 | This library is free software; you can redistribute it and/or modify | ||
| 9 | it under the terms of the GNU Lesser General Public License as | ||
| 10 | published by the Free Software Foundation, either version 2.1 of the | ||
| 11 | License, or (at your option) any later version. | ||
| 12 | |||
| 13 | This library is distributed in the hope that it will be useful, | ||
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | GNU General Public License for more details. | ||
| 17 | |||
| 18 | You should have received a copy of the GNU Lesser General Public | ||
| 19 | License along with this program; if not, write to the Free Software | ||
| 20 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | |||
| 22 | */ | ||
| 23 | |||
| 1 | #ifndef __USBMUXD_H | 24 | #ifndef __USBMUXD_H |
| 2 | #define __USBMUXD_H | 25 | #define __USBMUXD_H |
| 3 | #include <stdint.h> | 26 | #include <stdint.h> |
diff --git a/python-client/tcprelay.py b/python-client/tcprelay.py index 2874ae1..add200c 100644 --- a/python-client/tcprelay.py +++ b/python-client/tcprelay.py | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | #!/usr/bin/python | 1 | #!/usr/bin/python |
| 2 | # -*- coding: utf-8 -*- | ||
| 2 | # | 3 | # |
| 3 | # tcprelay.py - TCP connection relay for usbmuxd | 4 | # tcprelay.py - TCP connection relay for usbmuxd |
| 4 | # | 5 | # |
| @@ -15,7 +16,7 @@ | |||
| 15 | # | 16 | # |
| 16 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
| 17 | # along with this program; if not, write to the Free Software | 18 | # along with this program; if not, write to the Free Software |
| 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | 20 | ||
| 20 | import usbmux | 21 | import usbmux |
| 21 | import SocketServer | 22 | import SocketServer |
diff --git a/python-client/usbmux.py b/python-client/usbmux.py index 47112d3..79ec26a 100644 --- a/python-client/usbmux.py +++ b/python-client/usbmux.py | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | #!/usr/bin/python | 1 | #!/usr/bin/python |
| 2 | # -*- coding: utf-8 -*- | ||
| 2 | # | 3 | # |
| 3 | # usbmux.py - usbmux client library for Python | 4 | # usbmux.py - usbmux client library for Python |
| 4 | # | 5 | # |
| @@ -15,7 +16,7 @@ | |||
| 15 | # | 16 | # |
| 16 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
| 17 | # along with this program; if not, write to the Free Software | 18 | # along with this program; if not, write to the Free Software |
| 18 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | 20 | ||
| 20 | import socket, struct, select, sys | 21 | import socket, struct, select, sys |
| 21 | 22 | ||
diff --git a/tools/iproxy.c b/tools/iproxy.c index 094ae75..07019ec 100644 --- a/tools/iproxy.c +++ b/tools/iproxy.c | |||
| @@ -1,26 +1,30 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * iproxy -- proxy that enables tcp service access to iPhone/iPod | 2 | iproxy -- proxy that enables tcp service access to iPhone/iPod |
| 3 | * via USB cable | 3 | |
| 4 | * TODO: improve code... | 4 | Copyright (C) 2009 Nikias Bassen <nikias@gmx.li> |
| 5 | * | 5 | Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org> |
| 6 | * Copyright (c) 2009 Nikias Bassen. All Rights Reserved. | 6 | |
| 7 | * Based upon iTunnel source code, Copyright (c) 2008 Jing Su. | 7 | Based upon iTunnel source code, Copyright (c) 2008 Jing Su. |
| 8 | * http://www.cs.toronto.edu/~jingsu/itunnel/ | 8 | http://www.cs.toronto.edu/~jingsu/itunnel/ |
| 9 | * | 9 | |
| 10 | * This program is free software; you can redistribute it and/or modify | 10 | This program is free software; you can redistribute it and/or modify |
| 11 | * it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
| 12 | * the Free Software Foundation; either version 2 of the License, or | 12 | the Free Software Foundation; either version 2 of the License, or |
| 13 | * (at your option) any later version. | 13 | (at your option) any later version. |
| 14 | * | 14 | |
| 15 | * This program is distributed in the hope that it will be useful, | 15 | This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. | 18 | GNU General Public License for more details. |
| 19 | * | 19 | |
| 20 | * You should have received a copy of the GNU General Public License | 20 | You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software | 21 | along with this program; if not, write to the Free Software |
| 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 22 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 23 | */ | 23 | |
| 24 | TODO: improve code... | ||
| 25 | |||
| 26 | */ | ||
| 27 | |||
| 24 | #include <stdio.h> | 28 | #include <stdio.h> |
| 25 | #include <stdlib.h> | 29 | #include <stdlib.h> |
| 26 | #include <string.h> | 30 | #include <string.h> |
