summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hector Martin2009-10-25 00:23:35 +0200
committerGravatar Hector Martin2009-10-25 00:31:06 +0200
commit6e2421b3a8b11dc060f0d2516fc495cc37834a20 (patch)
treed44d3072a89a5a7657eb82f21b96146f4d2a8cd3
parente3443789ab4deb611713ce0c1cf6a8049fe84d09 (diff)
downloadusbmuxd-6e2421b3a8b11dc060f0d2516fc495cc37834a20.tar.gz
usbmuxd-6e2421b3a8b11dc060f0d2516fc495cc37834a20.tar.bz2
Add missing license headers and make them consistent
-rw-r--r--README9
-rw-r--r--common/utils.c3
-rw-r--r--common/utils.h3
-rw-r--r--daemon/client.c3
-rw-r--r--daemon/client.h3
-rw-r--r--daemon/device.c2
-rw-r--r--daemon/device.h2
-rw-r--r--daemon/log.c3
-rw-r--r--daemon/log.h3
-rw-r--r--daemon/main.c4
-rw-r--r--daemon/usb-linux.c4
-rw-r--r--daemon/usb.h4
-rw-r--r--libusbmuxd/libusbmuxd.c23
-rw-r--r--libusbmuxd/sock_stuff.c23
-rw-r--r--libusbmuxd/sock_stuff.h23
-rw-r--r--libusbmuxd/usbmuxd-proto.h23
-rw-r--r--libusbmuxd/usbmuxd.h23
-rw-r--r--python-client/tcprelay.py3
-rw-r--r--python-client/usbmux.py3
-rw-r--r--tools/iproxy.c48
20 files changed, 177 insertions, 35 deletions
diff --git a/README b/README
index 0490e1f..3d761e8 100644
--- a/README
+++ b/README
@@ -23,6 +23,15 @@ no modification, using Apple's native usbmuxd. This is useful if you need to
23tunnel to your phone from another OS in a pinch. Run python tcpclient.py --help 23tunnel to your phone from another OS in a pinch. Run python tcpclient.py --help
24for usage information. 24for usage information.
25 25
26License
27=======
28
29The contents of this package are licensed under the GNU General Public License,
30versions 2 or 3 (see COPYING.GPLv2 and COPYING.GPLv3), except for Libuxbmuxd
31which is licensed under the GNU Lesser General Public License, version 2.1 or,
32at your option, any later version (see COPYING.LGPLv2.1). If a more permissive
33license is specified at the top of a source file, it takes precedence over this.
34
26Building 35Building
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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 6
6This program is free software; you can redistribute it and/or modify 7This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 8it 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
15You should have received a copy of the GNU General Public License 16You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 17along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 6
6This program is free software; you can redistribute it and/or modify 7This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 8it 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
15You should have received a copy of the GNU General Public License 16You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 17along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 6
6This program is free software; you can redistribute it and/or modify 7This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 8it 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
15You should have received a copy of the GNU General Public License 16You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 17along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 6
6This program is free software; you can redistribute it and/or modify 7This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 8it 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
15You should have received a copy of the GNU General Public License 16You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 17along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18Foundation, 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
15You should have received a copy of the GNU General Public License 15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 16along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17Foundation, 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
15You should have received a copy of the GNU General Public License 15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 16along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 6
6This program is free software; you can redistribute it and/or modify 7This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 8it 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
15You should have received a copy of the GNU General Public License 16You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 17along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 6
6This program is free software; you can redistribute it and/or modify 7This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 8it 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
15You should have received a copy of the GNU General Public License 16You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 17along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
6Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org>
5 7
6This program is free software; you can redistribute it and/or modify 8This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 9it 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
15You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 18along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
6Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com>
5 7
6This program is free software; you can redistribute it and/or modify 8This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 9it 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
15You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 18along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19Foundation, 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
4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com> 4Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
6Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com>
5 7
6This program is free software; you can redistribute it and/or modify 8This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by 9it 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
15You should have received a copy of the GNU General Public License 17You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software 18along with this program; if not, write to the Free Software
17Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19Foundation, 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
4Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org>
6Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com>
7
8This library is free software; you can redistribute it and/or modify
9it under the terms of the GNU Lesser General Public License as
10published by the Free Software Foundation, either version 2.1 of the
11License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU Lesser General Public
19License along with this program; if not, write to the Free Software
20Foundation, 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
4Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org>
6Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com>
7
8This library is free software; you can redistribute it and/or modify
9it under the terms of the GNU Lesser General Public License as
10published by the Free Software Foundation, either version 2.1 of the
11License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU Lesser General Public
19License along with this program; if not, write to the Free Software
20Foundation, 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
4Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org>
6Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com>
7
8This library is free software; you can redistribute it and/or modify
9it under the terms of the GNU Lesser General Public License as
10published by the Free Software Foundation, either version 2.1 of the
11License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU Lesser General Public
19License along with this program; if not, write to the Free Software
20Foundation, 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
4Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org>
5Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
6Copyright (C) 2009 Hector Martin "marcan" <hector@marcansoft.com>
7
8This library is free software; you can redistribute it and/or modify
9it under the terms of the GNU Lesser General Public License as
10published by the Free Software Foundation, either version 2.1 of the
11License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU Lesser General Public
19License along with this program; if not, write to the Free Software
20Foundation, 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
4Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5Copyright (C) 2009 Paul Sladen <libiphone@paul.sladen.org>
6Copyright (C) 2009 Martin Szulecki <opensuse@sukimashita.com>
7
8This library is free software; you can redistribute it and/or modify
9it under the terms of the GNU Lesser General Public License as
10published by the Free Software Foundation, either version 2.1 of the
11License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU Lesser General Public
19License along with this program; if not, write to the Free Software
20Foundation, 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
20import usbmux 21import usbmux
21import SocketServer 22import 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
20import socket, struct, select, sys 21import 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... 4Copyright (C) 2009 Nikias Bassen <nikias@gmx.li>
5 * 5Copyright (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. 7Based upon iTunnel source code, Copyright (c) 2008 Jing Su.
8 * http://www.cs.toronto.edu/~jingsu/itunnel/ 8http://www.cs.toronto.edu/~jingsu/itunnel/
9 * 9
10 * This program is free software; you can redistribute it and/or modify 10This 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 11it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or 12the 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, 15This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details. 18GNU General Public License for more details.
19 * 19
20 * You should have received a copy of the GNU General Public License 20You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software 21along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */ 23
24TODO: 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>