diff options
author | Nikias Bassen | 2012-07-17 19:26:57 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 19:26:57 +0200 |
commit | 0437413da2e6a61d955300c9bbc56f88d2461100 (patch) | |
tree | 6de20554c14aba7149281cae66e6a1d2111fe480 /src/common.h | |
parent | 58a4fd91026cc00182fc0aea2ab45c19f729b8d0 (diff) | |
download | idevicerestore-0437413da2e6a61d955300c9bbc56f88d2461100.tar.gz idevicerestore-0437413da2e6a61d955300c9bbc56f88d2461100.tar.bz2 |
main: add --cache-path parameter and use it for version.xml and wtf image
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index e0c4b6a..e52c902 100644 --- a/src/common.h +++ b/src/common.h @@ -91,6 +91,7 @@ struct idevicerestore_client_t { char* version; char* build; char* restore_boot_args; + char* cache_dir; }; static struct idevicerestore_mode_t idevicerestore_modes[] = { @@ -123,6 +124,8 @@ char *generate_guid(); #define FMT_qu "%qu" #endif +int mkdir_with_parents(const char *dir, int mode); + extern struct idevicerestore_client_t* idevicerestore; #ifdef __cplusplus |