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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.h b/rbutil/sansapatcher/sansapatcher.h
index 7416e1928b..4f08eea432 100644
--- a/rbutil/sansapatcher/sansapatcher.h
+++ b/rbutil/sansapatcher/sansapatcher.h
@@ -34,14 +34,12 @@ extern int sansa_verbose;
34#define BUFFER_SIZE 8*1024*1024 34#define BUFFER_SIZE 8*1024*1024
35extern unsigned char* sansa_sectorbuf; 35extern unsigned char* sansa_sectorbuf;
36 36
37#define FILETYPE_MI4 0
38#define FILETYPE_INTERNAL 1
39
40int sansa_read_partinfo(struct sansa_t* sansa, int silent); 37int sansa_read_partinfo(struct sansa_t* sansa, int silent);
41int is_sansa(struct sansa_t* sansa); 38int is_sansa(struct sansa_t* sansa);
42int sansa_scan(struct sansa_t* sansa); 39int sansa_scan(struct sansa_t* sansa);
43int sansa_read_firmware(struct sansa_t* sansa, const char* filename); 40int sansa_read_firmware(struct sansa_t* sansa, const char* filename);
44int sansa_add_bootloader(struct sansa_t* sansa, const char* filename, int type); 41unsigned int sansa_read_bootloader(struct sansa_t* sansa, const char* filename, unsigned char** bl_buffer);
42int sansa_add_bootloader(struct sansa_t* sansa, const unsigned char* buf, unsigned int len);
45int sansa_delete_bootloader(struct sansa_t* sansa); 43int sansa_delete_bootloader(struct sansa_t* sansa);
46int sansa_update_of(struct sansa_t* sansa,const char* filename); 44int sansa_update_of(struct sansa_t* sansa,const char* filename);
47int sansa_update_ppbl(struct sansa_t* sansa,const char* filename); 45int sansa_update_ppbl(struct sansa_t* sansa,const char* filename);