diff options
author | 2010-07-08 23:40:26 -0400 | |
---|---|---|
committer | 2010-07-08 23:40:26 -0400 | |
commit | 4bc0f4d97a767d1291ac9f09780198d5680f3e3f (patch) | |
tree | 62b132e669be7319d749635a9b6d8fb842401810 /src/tss.h | |
parent | 38c965c16625d26915b3d4998a8a7e790c834d89 (diff) | |
parent | 4090b98d9e8cdaada701ac320e20f7c8b0cf88f6 (diff) | |
download | idevicerestore-4bc0f4d97a767d1291ac9f09780198d5680f3e3f.tar.gz idevicerestore-4bc0f4d97a767d1291ac9f09780198d5680f3e3f.tar.bz2 |
Merge branch 'martin'
Diffstat (limited to 'src/tss.h')
-rw-r--r-- | src/tss.h | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -19,15 +19,24 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef TSS_H -#define TSS_H +#ifndef IDEVICERESTORE_TSS_H +#define IDEVICERESTORE_TSS_H + +#ifdef __cplusplus +extern "C" { +#endif #include <plist/plist.h> -#include "img3.h" +plist_t tss_send_request(plist_t request); +plist_t tss_create_request(plist_t build_identity, uint64_t ecid); +int tss_get_entry_path(plist_t tss, const char* entry, char** path); +int tss_get_blob_by_path(plist_t tss, const char* path, char** blob); +int tss_get_blob_by_name(plist_t tss, const char* entry, char** blob); -plist_t tss_create_request(plist_t buildmanifest, uint64_t ecid); -plist_t tss_send_request(plist_t tss_request); -void tss_stitch_img3(img3_file* file, plist_t signature); + +#ifdef __cplusplus +} +#endif #endif |