From fdea23960ae9ea99fa28db49c4da5791a8affca7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 5 Feb 2012 22:18:15 +0100 Subject: download and cache version information from itunes.com --- src/common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/common.h') 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 -- cgit v1.1-32-gdbae