diff options
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 |