diff options
author | Nikias Bassen | 2012-02-05 22:18:15 +0100 |
---|---|---|
committer | Nikias Bassen | 2012-02-05 22:18:15 +0100 |
commit | fdea23960ae9ea99fa28db49c4da5791a8affca7 (patch) | |
tree | f1e06bb4be19ae3cd0482f8de8c8ed849831bc7a /src/common.h | |
parent | 19d604ff509afd00f83a2687b243774d18654b65 (diff) | |
download | idevicerestore-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.h | 7 |
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 |