diff options
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.h')
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.h b/rbutil/sansapatcher/sansapatcher.h index 1ae101e012..259143e38a 100644 --- a/rbutil/sansapatcher/sansapatcher.h +++ b/rbutil/sansapatcher/sansapatcher.h | |||
@@ -28,6 +28,22 @@ extern "C" { | |||
28 | 28 | ||
29 | #include "sansaio.h" | 29 | #include "sansaio.h" |
30 | 30 | ||
31 | /* exit codes */ | ||
32 | #define SANSA_OK 0 | ||
33 | #define SANSA_WRONG_ARGUMENTS 1 | ||
34 | #define SANSA_OPEN_INFILE_FAILED 2 | ||
35 | #define SANSA_PARTITION_ERROR 3 | ||
36 | #define SANSA_CANNOT_REOPEN 5 | ||
37 | #define SANSA_INSTALL_FAILED 6 | ||
38 | #define SANSA_UNINSTALL_FAILED 7 | ||
39 | #define SANSA_ACCESS_DENIED 10 | ||
40 | #define SANSA_NOT_FOUND 11 | ||
41 | #define SANSA_WRONG_DEVICE_COUNT 12 | ||
42 | #define SANSA_MULTIPLE_DEVICES 15 | ||
43 | #define SANSA_WRONG_TYPE 16 | ||
44 | #define SANSA_OLD_INSTALL 17 | ||
45 | #define SANSA_INTERNAL_ERROR 20 | ||
46 | |||
31 | extern int sansa_verbose; | 47 | extern int sansa_verbose; |
32 | /* Size of buffer for disk I/O - 8MB is large enough for any version | 48 | /* Size of buffer for disk I/O - 8MB is large enough for any version |
33 | of the Apple firmware, but not the Nano's RSRC image. */ | 49 | of the Apple firmware, but not the Nano's RSRC image. */ |