summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AFC.c19
-rw-r--r--src/AFC.h16
-rw-r--r--src/ifuse.c20
-rw-r--r--src/iphone.c20
-rw-r--r--src/iphone.h20
-rw-r--r--src/lockdown.c19
-rw-r--r--src/lockdown.h15
-rw-r--r--src/main.c19
-rw-r--r--src/main.h1
-rw-r--r--src/plist.c16
-rw-r--r--src/plist.h19
-rw-r--r--src/usbmux.c19
-rw-r--r--src/usbmux.h20
13 files changed, 207 insertions, 16 deletions
diff --git a/src/AFC.c b/src/AFC.c
index f3d538e..f4b802d 100644
--- a/src/AFC.c
+++ b/src/AFC.c
@@ -1,6 +1,21 @@
1/* 1/*
2 * AFC.c -- contains functions for the built-in AFC client. 2 * AFC.c
3 * Written by FxChiP 3 * Contains functions for the built-in AFC client.
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4 */ 19 */
5 20
6#include "AFC.h" 21#include "AFC.h"
diff --git a/src/AFC.h b/src/AFC.h
index 6e1bf77..00c7ded 100644
--- a/src/AFC.h
+++ b/src/AFC.h
@@ -1,7 +1,21 @@
1/* 1/*
2 * AFC.h 2 * AFC.h
3 * Defines and structs and the like for the built-in AFC client 3 * Defines and structs and the like for the built-in AFC client
4 * Written by FxChiP 4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
5 */ 19 */
6 20
7#include "usbmux.h" 21#include "usbmux.h"
diff --git a/src/ifuse.c b/src/ifuse.c
index 323006f..2c8459d 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -1,3 +1,23 @@
1/*
2 * ifuse.c
3 * A Fuse filesystem which exposes the iPhone's filesystem.
4 *
5 * Copyright (c) 2008 Matt Colyer All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
1#define FUSE_USE_VERSION 26 21#define FUSE_USE_VERSION 26
2 22
3#include <fuse.h> 23#include <fuse.h>
diff --git a/src/iphone.c b/src/iphone.c
index a8e2fcb..91a9f50 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -1,5 +1,21 @@
1/* iPhone.c 1/*
2 * Functions for creating and initializing iPhone structures 2 * iphone.c
3 * Functions for creating and initializing iPhone structures.
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
3 */ 19 */
4 20
5#include "usbmux.h" 21#include "usbmux.h"
diff --git a/src/iphone.h b/src/iphone.h
index a49b7ef..069bae6 100644
--- a/src/iphone.h
+++ b/src/iphone.h
@@ -1,6 +1,22 @@
1/* iphone.h 1/*
2 * iphone.h
2 * iPhone struct 3 * iPhone struct
3 * Written by FxChiP */ 4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
4 20
5#ifndef IPHONE_H 21#ifndef IPHONE_H
6#define IPHONE_H 22#define IPHONE_H
diff --git a/src/lockdown.c b/src/lockdown.c
index 34a98f7..452f036 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -1,6 +1,21 @@
1/* 1/*
2 * lockdown.c -- libiphone built-in lockdownd client 2 * lockdown.c
3 * Written by FxChiP 3 * libiphone built-in lockdownd client
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4 */ 19 */
5 20
6#include "usbmux.h" 21#include "usbmux.h"
diff --git a/src/lockdown.h b/src/lockdown.h
index 0acd624..07e2d6c 100644
--- a/src/lockdown.h
+++ b/src/lockdown.h
@@ -1,6 +1,21 @@
1/* 1/*
2 * lockdown.h 2 * lockdown.h
3 * Defines lockdown stuff, like the client struct. 3 * Defines lockdown stuff, like the client struct.
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4 */ 19 */
5 20
6#ifndef LOCKDOWND_H 21#ifndef LOCKDOWND_H
diff --git a/src/main.c b/src/main.c
index e4007e9..34126d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,21 @@
1/* 1/*
2 * libiphone main.c written by FxChiP 2 * main.c
3 * With much help from Daniel Brownlees 3 * Rudimentary interface to the iPhone
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4 */ 19 */
5 20
6#include <stdio.h> 21#include <stdio.h>
diff --git a/src/main.h b/src/main.h
deleted file mode 100644
index 8b13789..0000000
--- a/src/main.h
+++ /dev/null
@@ -1 +0,0 @@
1
diff --git a/src/plist.c b/src/plist.c
index a375d5b..f5d49c4 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -1,7 +1,21 @@
1/* 1/*
2 * plist.c 2 * plist.c
3 * Builds plist XML structures. 3 * Builds plist XML structures.
4 * Written by FxChiP 4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
5 */ 19 */
6 20
7#include <libxml/parser.h> 21#include <libxml/parser.h>
diff --git a/src/plist.h b/src/plist.h
index 1f18eb4..ee9ca79 100644
--- a/src/plist.h
+++ b/src/plist.h
@@ -1,6 +1,21 @@
1/* plist.h 1/*
2 * plist.h
2 * contains structures and the like for plists 3 * contains structures and the like for plists
3 * written by fxchip 4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
4 */ 19 */
5 20
6#ifndef PLIST_H 21#ifndef PLIST_H
diff --git a/src/usbmux.c b/src/usbmux.c
index 7985b3a..dc2798f 100644
--- a/src/usbmux.c
+++ b/src/usbmux.c
@@ -1,3 +1,22 @@
1/*
2 * usbmux.c
3 * Interprets the usb multiplexing protocol used by the iPhone.
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
1 20
2#include <sys/types.h> 21#include <sys/types.h>
3#include <arpa/inet.h> 22#include <arpa/inet.h>
diff --git a/src/usbmux.h b/src/usbmux.h
index 921f4b7..cf5ce29 100644
--- a/src/usbmux.h
+++ b/src/usbmux.h
@@ -1,9 +1,27 @@
1/*
2 * usbmux.h
3 * Defines structures and variables pertaining to the usb multiplexing.
4 *
5 * Copyright (c) 2008 Zack C. All Rights Reserved.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
1 20
2#include <sys/types.h> 21#include <sys/types.h>
3#include <stdlib.h> 22#include <stdlib.h>
4#include <stdint.h> 23#include <stdint.h>
5 24
6
7#ifndef USBMUX_H 25#ifndef USBMUX_H
8#define USBMUX_H 26#define USBMUX_H
9 27