summaryrefslogtreecommitdiffstats
path: root/src/json_plist.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-02-02 00:23:55 +0100
committerGravatar Nikias Bassen2019-02-02 00:23:55 +0100
commit519af01f7dcb448b59ca13bdc1a1b060484f41ec (patch)
tree3fc370ff01e8daefaa222884848e3d93142cd3db /src/json_plist.h
parent65572cab6baf92cbe4d43fcb0c7a44bc87d95b85 (diff)
downloadidevicerestore-519af01f7dcb448b59ca13bdc1a1b060484f41ec.tar.gz
idevicerestore-519af01f7dcb448b59ca13bdc1a1b060484f41ec.tar.bz2
Use ipsw.me API to allow selection and download of any signed firmware version when using --latest
Diffstat (limited to 'src/json_plist.h')
-rw-r--r--src/json_plist.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/json_plist.h b/src/json_plist.h
new file mode 100644
index 0000000..d6eec0b
--- /dev/null
+++ b/src/json_plist.h
@@ -0,0 +1,34 @@
+/*
+ * json_plist.h
+ * JSON/property list functions (header file)
+ *
+ * Copyright (c) 2013 Nikias Bassen. 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 __JSON_PLIST_H
+#define __JSON_PLIST_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+plist_t json_to_plist(const char* json_string);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif