summaryrefslogtreecommitdiffstats
path: root/include/libiphone/libiphone.h
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-11 22:32:01 +0200
committerGravatar Jonathan Beck2008-08-31 19:27:19 +0200
commite1b22c51edd2c3b416d111a63e1a84ab3ba7817e (patch)
tree5c22a2f6ab33927ab61b9e43c9382e0a2ffd8734 /include/libiphone/libiphone.h
parentde4b279089d40131346cbd28e4f27b6e9716fab9 (diff)
downloadlibplist-e1b22c51edd2c3b416d111a63e1a84ab3ba7817e.tar.gz
libplist-e1b22c51edd2c3b416d111a63e1a84ab3ba7817e.tar.bz2
first shot at setting up a library
Diffstat (limited to 'include/libiphone/libiphone.h')
-rw-r--r--include/libiphone/libiphone.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/include/libiphone/libiphone.h b/include/libiphone/libiphone.h
new file mode 100644
index 0000000..9e559a1
--- /dev/null
+++ b/include/libiphone/libiphone.h
@@ -0,0 +1,46 @@
+/*
+ * libiphone.h
+ * Main include of libiphone
+ *
+ * Copyright (c) 2008 Jonathan Beck All Rights Reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef LIBIPHONE_H
+#define LIBIPHONE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+
+
+typedef struct iPhone *iPhone_t;
+typedef struct lockdownd_client *lockdownd_client_t;
+
+
+void free_iPhone(iPhone_t victim);
+iPhone_t get_iPhone();
+int lockdownd_init(iPhone_t phone, lockdownd_client_t *control);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+