summaryrefslogtreecommitdiffstats
path: root/src/tss.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-11-27 17:01:52 +0100
committerGravatar Nikias Bassen2013-11-27 17:01:52 +0100
commit4af79dd3091bd09d3ff4e460e40e25491fb965dd (patch)
treee30cee7c9bc61dedb9f9e522c9318fc6d3d5a58f /src/tss.h
parentd0f4512a38c0f1be90b39cc774ad16f28d8bec23 (diff)
downloadidevicerestore-4af79dd3091bd09d3ff4e460e40e25491fb965dd.tar.gz
idevicerestore-4af79dd3091bd09d3ff4e460e40e25491fb965dd.tar.bz2
Refactor TSS parameter handling and parse RestoreRequestRules properly
Diffstat (limited to 'src/tss.h')
-rw-r--r--src/tss.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tss.h b/src/tss.h
index b1d300a..3abd674 100644
--- a/src/tss.h
+++ b/src/tss.h
@@ -30,16 +30,18 @@ extern "C" {
#include <plist/plist.h>
+/* parameters */
+int tss_parameters_add_from_manifest(plist_t parameters, plist_t build_identity);
+
/* request */
plist_t tss_request_new(plist_t overrides);
-int tss_request_add_common_tags_from_manifest(plist_t request, plist_t build_identity, plist_t overrides);
-int tss_request_add_ap_tags_from_manifest(plist_t request, plist_t build_identity, plist_t overrides);
-int tss_request_add_baseband_tags_from_manifest(plist_t request, plist_t build_identity, plist_t overrides);
+int tss_request_add_common_tags(plist_t request, plist_t parameters, plist_t overrides);
+int tss_request_add_ap_tags(plist_t request, plist_t parameters, plist_t overrides);
+int tss_request_add_baseband_tags(plist_t request, plist_t parameters, plist_t overrides);
int tss_request_add_ap_img4_tags(plist_t request, plist_t parameters);
int tss_request_add_ap_img3_tags(plist_t request, plist_t parameters);
-int tss_request_add_baseband_tags(plist_t request, plist_t parameters);
/* i/o */
plist_t tss_request_send(plist_t request, const char* server_url_string);