Prepaired new code for fiasco images

This commit is contained in:
Pali Rohár committed 2012-07-14 10:33:15 +02:00
1 parent f62628bf29
commit f8d3fa0ecd
4 files changed
+306

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#include "image.h"
struct fiasco {
char swver[12];
int fd;
struct image_list * first;
}
struct fiasco * fiasco_alloc_empty(void);
struct fiasco * fiasco_alloc_from_file(const char * file);
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);