summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
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