From 0437413da2e6a61d955300c9bbc56f88d2461100 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 17 Jul 2012 19:26:57 +0200 Subject: main: add --cache-path parameter and use it for version.xml and wtf image --- src/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common.h') 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 -- cgit v1.1-32-gdbae