diff options
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.h')
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.h b/rbutil/sansapatcher/sansapatcher.h index d422aa5932..a393a86576 100644 --- a/rbutil/sansapatcher/sansapatcher.h +++ b/rbutil/sansapatcher/sansapatcher.h | |||
@@ -17,8 +17,8 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | #ifndef _IPODPATCHER_H | 20 | #ifndef _SANSAPATCHER_H |
21 | #define _IPODPATCHER_H | 21 | #define _SANSAPATCHER_H |
22 | 22 | ||
23 | #include "sansaio.h" | 23 | #include "sansaio.h" |
24 | 24 | ||
@@ -30,14 +30,12 @@ extern unsigned char* sectorbuf; | |||
30 | #define FILETYPE_MI4 0 | 30 | #define FILETYPE_MI4 0 |
31 | #define FILETYPE_INTERNAL 1 | 31 | #define FILETYPE_INTERNAL 1 |
32 | 32 | ||
33 | char* get_parttype(int pt); | 33 | int sansa_read_partinfo(struct sansa_t* sansa, int silent); |
34 | int read_partinfo(struct sansa_t* sansa, int silent); | ||
35 | off_t filesize(int fd); | ||
36 | int is_e200(struct sansa_t* sansa); | 34 | int is_e200(struct sansa_t* sansa); |
37 | int sansa_scan(struct sansa_t* sansa); | 35 | int sansa_scan(struct sansa_t* sansa); |
38 | int read_firmware(struct sansa_t* sansa, char* filename); | 36 | int sansa_read_firmware(struct sansa_t* sansa, char* filename); |
39 | int add_bootloader(struct sansa_t* sansa, char* filename, int type); | 37 | int sansa_add_bootloader(struct sansa_t* sansa, char* filename, int type); |
40 | int delete_bootloader(struct sansa_t* sansa); | 38 | int sansa_delete_bootloader(struct sansa_t* sansa); |
41 | void list_images(struct sansa_t* sansa); | 39 | void sansa_list_images(struct sansa_t* sansa); |
42 | 40 | ||
43 | #endif | 41 | #endif |