usbloadergx/source/usbloader/fstfile.h

26 lines
414 B
C
Raw Normal View History

#ifndef _FSTFILE_H_
#define _FSTFILE_H_
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct
{
2010-09-24 02:48:03 +02:00
u8 filetype;
char name_offset[3];
u32 fileoffset;
u32 filelen;
}__attribute__( ( packed ) ) FST_ENTRY;
2010-09-24 02:48:03 +02:00
char *fstfiles(FST_ENTRY *fst, u32 index);
char *fstfilename(u32 index);
u32 fstfileoffset(u32 index);
#ifdef __cplusplus
}
#endif
#endif