From 85fdbfb35437f5ab8a449235f2c86f410770925f Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 8 Oct 2007 00:25:56 +0200 Subject: * 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 --- src/main.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main.h') 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 -- cgit v1.2.3