summaryrefslogtreecommitdiffstats
path: root/src/fiasco2.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-07 14:01:15 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-07 14:01:15 +0200
commit869a872897f094b8f90bb2e4fad8904e4d2ff2ce (patch)
tree903a2651007fec9f7998d09f6d7acc445c03c517 /src/fiasco2.h
parent48fc14c9130e40ccd0e64acd8183c6803541270b (diff)
download0xFFFF-869a872897f094b8f90bb2e4fad8904e4d2ff2ce.tar.bz2
Implement fiasco functions
Diffstat (limited to 'src/fiasco2.h')
-rw-r--r--src/fiasco2.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/fiasco2.h b/src/fiasco2.h
index 3c715c3..6baadbc 100644
--- a/src/fiasco2.h
+++ b/src/fiasco2.h
@@ -1,8 +1,13 @@
+
+#ifndef FIASCO_H
+#define FIASCO_H
+
#include "image.h"
struct fiasco {
- char swver[12];
+ char name[257];
+ char swver[257];
int fd;
struct image_list * first;
}
@@ -13,3 +18,5 @@ void fiasco_free(struct fiasco * fiasco);
int fiasco_add_image(struct fiasco * fiasco, struct image * image);
int fiasco_write_to_file(struct fiasco * fiasco, const char * file);
int fiasco_unpack(struct fiasco * fiasco, const char * dir);
+
+#endif