Files
0xFFFF/src/fiasco2.h
T

22 lines
497 B
C
Raw Normal View History

2012-07-14 10:33:15 +02:00
2012-08-07 14:01:15 +02:00
#ifndef FIASCO_H
#define FIASCO_H
2012-07-14 10:33:15 +02:00
#include "image.h"
struct fiasco {
2012-08-07 14:01:15 +02:00
char name[257];
char swver[257];
2012-07-14 10:33:15 +02:00
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);
2012-08-07 14:01:15 +02:00
#endif