diff options
Diffstat (limited to 'src/ipsw.h')
-rw-r--r-- | src/ipsw.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -19,11 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef IDEVICERESTORE_IPSW_H -#define IDEVICERESTORE_IPSW_H +#ifndef IPSW_H +#define IPSW_H #include <zip.h> -#include <stdint.h> typedef struct { int index; @@ -32,7 +31,7 @@ typedef struct { unsigned char* data; } ipsw_file; -int ipsw_extract_to_memory(const char* ipsw, const char* infile, char** pbuffer, uint32_t* psize); +int ipsw_extract_to_memory(const char* ipsw, const char* infile, char** pbuffer, int* psize); void ipsw_free_file(ipsw_file* file); #endif |