summaryrefslogtreecommitdiffstats
path: root/rbutil/mkamsboot/mkamsboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/mkamsboot/mkamsboot.h')
-rw-r--r--rbutil/mkamsboot/mkamsboot.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/rbutil/mkamsboot/mkamsboot.h b/rbutil/mkamsboot/mkamsboot.h
index e2de46c9b8..9a9b9d4e5f 100644
--- a/rbutil/mkamsboot/mkamsboot.h
+++ b/rbutil/mkamsboot/mkamsboot.h
@@ -29,6 +29,13 @@
#include <sys/types.h>
+/* Holds info about the OF */
+struct md5sums {
+ int model;
+ char *version;
+ char *md5;
+};
+
/* load_rockbox_file()
*
* Loads a rockbox bootloader file into memory
@@ -77,8 +84,8 @@ unsigned char* load_rockbox_file(
*/
unsigned char* load_of_file(
- char* filename, off_t* bufsize, char* md5sum, int* model,
- int* fw_version, int* firmware_size, unsigned char** of_packed,
+ char* filename, off_t* bufsize, struct md5sums *sum,
+ int* firmware_size, unsigned char** of_packed,
int* of_packedsize, char* errstr, int errstrsize);