From 519af01f7dcb448b59ca13bdc1a1b060484f41ec Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 2 Feb 2019 00:23:55 +0100 Subject: Use ipsw.me API to allow selection and download of any signed firmware version when using --latest --- src/json_plist.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/json_plist.h (limited to 'src/json_plist.h') 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 -- cgit v1.1-32-gdbae