diff options
author | Joshua Hill | 2010-05-21 04:04:10 -0400 |
---|---|---|
committer | Joshua Hill | 2010-05-21 04:04:10 -0400 |
commit | 996010895b4f92e37ce4ee535cd404b61ba314b5 (patch) | |
tree | 67bcd2a3a7e99d8e2ec97e9c1275f52e1579a7d1 /src/ipsw.c | |
parent | bb587b216f9e50918491b1edcafc298452026a2b (diff) | |
download | idevicerestore-996010895b4f92e37ce4ee535cd404b61ba314b5.tar.gz idevicerestore-996010895b4f92e37ce4ee535cd404b61ba314b5.tar.bz2 |
Added ECID detection
Diffstat (limited to 'src/ipsw.c')
-rw-r--r-- | src/ipsw.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,10 @@ #include <string.h> #include "ipsw.h" +#define error(...) fprintf(stderr, __VA_ARGS__) +#define info(...) if(verbose >= 1) fprintf(stderr, __VA_ARGS__) +#define debug(...) if(verbose >= 2) fprintf(stderr, __VA_ARGS__) + ipsw_archive* ipsw_open(const char* ipsw) { int err = 0; ipsw_archive* archive = (ipsw_archive*) malloc(sizeof(ipsw_archive)); |