macutils/macunpack/stf.h
2018-03-22 20:02:26 -05:00

15 lines
307 B
C

#define MAGIC "RTH"
#define S_MAGIC 0
#define S_FLENGTH 3
#define S_RSRCLNGTH 3 /* + NAMELENGTH */
#define S_DATALNGTH 7 /* + NAMELENGTH */
typedef struct fileHdr {
char magic[3];
char flength;
char fname[32]; /* actually flength */
unsigned long rsrcLength;
unsigned long dataLength;
} fileHdr;