diff options
author | pancake <pancake@dazo> | 2007-10-08 00:25:56 +0200 |
---|---|---|
committer | pancake <pancake@dazo> | 2007-10-08 00:25:56 +0200 |
commit | 85fdbfb35437f5ab8a449235f2c86f410770925f (patch) | |
tree | e54a6f6e60b7d8cbd451edf0399097376238882d /src/main.h | |
parent | 11e32133b02012d200104ca44968fd453a86c49d (diff) | |
download | 0xFFFF-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.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |