From 47d60e2b9f8ddec18107cee21e046cd4df50fdef Mon Sep 17 00:00:00 2001
From: Matt Colyer
Date: Wed, 30 Jul 2008 23:50:39 -0700
Subject: Added documentation and licensing information.
---
src/AFC.c | 19 +++++++++++++++++--
src/AFC.h | 16 +++++++++++++++-
src/ifuse.c | 20 ++++++++++++++++++++
src/iphone.c | 20 ++++++++++++++++++--
src/iphone.h | 20 ++++++++++++++++++--
src/lockdown.c | 19 +++++++++++++++++--
src/lockdown.h | 15 +++++++++++++++
src/main.c | 19 +++++++++++++++++--
src/main.h | 1 -
src/plist.c | 16 +++++++++++++++-
src/plist.h | 19 +++++++++++++++++--
src/usbmux.c | 19 +++++++++++++++++++
src/usbmux.h | 20 +++++++++++++++++++-
13 files changed, 207 insertions(+), 16 deletions(-)
delete mode 100644 src/main.h
(limited to 'src')
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 .
*/
#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 .
*/
#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 .
+ */
+
#define FUSE_USE_VERSION 26
#include
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 .
*/
#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 .
+ */
#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 .
*/
#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 .
*/
#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 .
*/
#include
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 .
*/
#include
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 .
*/
#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 .
+ */
#include
#include
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 .
+ */
#include
#include
#include
-
#ifndef USBMUX_H
#define USBMUX_H
--
cgit v1.1-32-gdbae