summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-02-05 22:18:15 +0100
committerGravatar Nikias Bassen2012-02-05 22:18:15 +0100
commitfdea23960ae9ea99fa28db49c4da5791a8affca7 (patch)
treef1e06bb4be19ae3cd0482f8de8c8ed849831bc7a /src/common.h
parent19d604ff509afd00f83a2687b243774d18654b65 (diff)
downloadidevicerestore-fdea23960ae9ea99fa28db49c4da5791a8affca7.tar.gz
idevicerestore-fdea23960ae9ea99fa28db49c4da5791a8affca7.tar.bz2
download and cache version information from itunes.com
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 9a84188..19ce881 100644
--- a/src/common.h
+++ b/src/common.h
@@ -129,6 +129,7 @@ struct idevicerestore_device_t {
struct idevicerestore_client_t {
int flags;
plist_t tss;
+ plist_t version_data;
uint64_t ecid;
unsigned char* nonce;
int nonce_size;
@@ -183,6 +184,12 @@ int write_file(const char* filename, const void* data, size_t size);
char *generate_guid();
+#ifdef WIN32
+#define __mkdir(path, mode) mkdir(path)
+#else
+#define __mkdir(path, mode) mkdir(path, mode)
+#endif
+
extern struct idevicerestore_client_t* idevicerestore;
#ifdef __cplusplus