summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-07-30 23:50:39 -0700
committerGravatar Matt Colyer2008-07-30 23:50:39 -0700
commit47d60e2b9f8ddec18107cee21e046cd4df50fdef (patch)
treea62e8401b521f54c592ea2c27f92cabf08890ca0 /src
parentd4c28088e8d189469d42ff57372eb7c9d0e75496 (diff)
downloadlibplist-47d60e2b9f8ddec18107cee21e046cd4df50fdef.tar.gz
libplist-47d60e2b9f8ddec18107cee21e046cd4df50fdef.tar.bz2
Added documentation and licensing information.
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 @@
/*
- * AFC.c -- contains functions for the built-in AFC client.
- * Written by FxChiP
+ * AFC.c
+ * Contains functions for the built-in AFC client.
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
/*
* AFC.h
* Defines and structs and the like for the built-in AFC client
- * Written by FxChiP
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
+/*
+ * ifuse.c
+ * A Fuse filesystem which exposes the iPhone's filesystem.
+ *
+ * Copyright (c) 2008 Matt Colyer All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#define FUSE_USE_VERSION 26
#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 @@
-/* iPhone.c
- * Functions for creating and initializing iPhone structures
+/*
+ * iphone.c
+ * Functions for creating and initializing iPhone structures.
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
-/* iphone.h
+/*
+ * iphone.h
* iPhone struct
- * Written by FxChiP */
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#ifndef IPHONE_H
#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 @@
/*
- * lockdown.c -- libiphone built-in lockdownd client
- * Written by FxChiP
+ * lockdown.c
+ * libiphone built-in lockdownd client
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
/*
* lockdown.h
* Defines lockdown stuff, like the client struct.
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
/*
- * libiphone main.c written by FxChiP
- * With much help from Daniel Brownlees
+ * main.c
+ * Rudimentary interface to the iPhone
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
-
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 @@
/*
* plist.c
* Builds plist XML structures.
- * Written by FxChiP
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
-/* plist.h
+/*
+ * plist.h
* contains structures and the like for plists
- * written by fxchip
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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 @@
+/*
+ * usbmux.c
+ * Interprets the usb multiplexing protocol used by the iPhone.
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#include <sys/types.h>
#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 @@
+/*
+ * usbmux.h
+ * Defines structures and variables pertaining to the usb multiplexing.
+ *
+ * Copyright (c) 2008 Zack C. All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
#include <sys/types.h>
#include <stdlib.h>
#include <stdint.h>
-
#ifndef USBMUX_H
#define USBMUX_H