diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 20:38:47 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 20:38:47 +0200 |
commit | 29084d4acf2f45678209d9876e2931c888c5ab95 (patch) | |
tree | 6b11a8f4aedfa54a222850acb34aa9cf132ada5c /src/main.h | |
parent | 0d7694160012f2cdcec96932a6bdff6e75f25ad4 (diff) | |
download | 0xFFFF-29084d4acf2f45678209d9876e2931c888c5ab95.tar.bz2 |
flash: Rewrite flash_image code to use struct * image
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,10 +16,12 @@ extern char strbuf[1024]; // Forward declaration for use in function arguments. //struct devices; +struct image; int queue_mode(); int reverse_extract_pieces(char *dir); -void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version); +//void flash_image(const char *filename, const char *piece, const char *device, const char *hwrevs, const char *version); +void flash_image(struct image * image); int fiasco_read_image(char *file); //void check_nolo_order(); extern struct usb_dev_handle *dev; |