summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher/sansapatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.h')
-rw-r--r--rbutil/sansapatcher/sansapatcher.h16
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
33char* get_parttype(int pt); 33int sansa_read_partinfo(struct sansa_t* sansa, int silent);
34int read_partinfo(struct sansa_t* sansa, int silent);
35off_t filesize(int fd);
36int is_e200(struct sansa_t* sansa); 34int is_e200(struct sansa_t* sansa);
37int sansa_scan(struct sansa_t* sansa); 35int sansa_scan(struct sansa_t* sansa);
38int read_firmware(struct sansa_t* sansa, char* filename); 36int sansa_read_firmware(struct sansa_t* sansa, char* filename);
39int add_bootloader(struct sansa_t* sansa, char* filename, int type); 37int sansa_add_bootloader(struct sansa_t* sansa, char* filename, int type);
40int delete_bootloader(struct sansa_t* sansa); 38int sansa_delete_bootloader(struct sansa_t* sansa);
41void list_images(struct sansa_t* sansa); 39void sansa_list_images(struct sansa_t* sansa);
42 40
43#endif 41#endif