summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorpancake <pancake@dazo>2007-10-08 00:25:56 +0200
committerpancake <pancake@dazo>2007-10-08 00:25:56 +0200
commit85fdbfb35437f5ab8a449235f2c86f410770925f (patch)
treee54a6f6e60b7d8cbd451edf0399097376238882d /src/main.h
parent11e32133b02012d200104ca44968fd453a86c49d (diff)
download0xFFFF-85fdbfb35437f5ab8a449235f2c86f410770925f.tar.bz2
* Finally implement the support for the FIASCO firmware format
* Up version to 0.3 * Alphabetically order the help message flags * Cleaner short help message * Pseudo-api for creating firmwares (not yet finished) * Add '-F' flag to flash from a fiasco image
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index dcbacff..d6dd46d 100644
--- a/src/main.h
+++ b/src/main.h
@@ -77,4 +77,16 @@ extern char *pieces[];
extern char *modes[];
extern char *root_devices[];
+// fiasco
+extern void (*fiasco_callback)(struct header_t *header);
+struct header_t {
+ char fwname[128];
+ char name[128];
+ char version[128];
+ unsigned short hash;
+ unsigned int size;
+ unsigned char *data;
+};
+
+
#endif