Go to the documentation of this file.
38 #define FF_STRINGIFY(s) #s
39 #define FF_TOSTRING(s) FF_STRINGIFY(s)
41 #define FF_VERSION_INT(a, b, c) (a << 16 | b << 8 | c)
42 #define FF_VERSION_DOT(a, b, c) a ##.## b ##.## c
43 #define FF_VERSION(a, b, c) FF_VERSION_DOT(a, b, c)
45 #define LIBFOSFAT_VERSION_MAJOR 0
46 #define LIBFOSFAT_VERSION_MINOR 4
47 #define LIBFOSFAT_VERSION_MICRO 0
49 #define LIBFOSFAT_VERSION_INT FF_VERSION_INT(LIBFOSFAT_VERSION_MAJOR, \
50 LIBFOSFAT_VERSION_MINOR, \
51 LIBFOSFAT_VERSION_MICRO)
52 #define LIBFOSFAT_VERSION FF_VERSION(LIBFOSFAT_VERSION_MAJOR, \
53 LIBFOSFAT_VERSION_MINOR, \
54 LIBFOSFAT_VERSION_MICRO)
55 #define LIBFOSFAT_VERSION_STR FF_TOSTRING(LIBFOSFAT_VERSION)
56 #define LIBFOSFAT_BUILD LIBFOSFAT_VERSION_INT
60 #define FOSFAT_NAMELGT 17
62 #define F_UNDELETE (1 << 0)
65 typedef enum disk_type {
73 typedef struct time_s {
83 typedef struct att_s {
92 typedef struct file_info_s {
93 char name[FOSFAT_NAMELGT];
100 struct file_info_s *next_file;
266 const char *src,
const char *dst,
int output);
282 const char *path,
int offset,
int size);