macutils/macunpack/jdw.h

32 lines
549 B
C
Raw Normal View History

#include "macunpack.h"
#ifdef JDW
#ifdef JDW_INTERNAL
#include <stdint.h>
2018-03-23 00:30:02 +00:00
#define J_MAGIC 0
#define J_TYPE 6
#define J_AUTH 10
#define J_FINFO 14
#define J_DATALENGTH 22
#define J_RSRCLENGTH 26
#define J_CTIME 30
#define J_MTIME 34
#define J_FLENGTH 38
typedef struct jdw_fileHdr {
2018-03-23 00:30:02 +00:00
char magic[6];
uint32_t type;
uint32_t auth;
2018-03-23 00:30:02 +00:00
char finfo[8];
uint32_t dataLength;
uint32_t rsrcLength;
uint32_t ctime;
uint32_t mtime;
2018-03-23 00:30:02 +00:00
char flength;
char fname[32]; /* actually flength */
} jdw_fileHdr;
2018-03-23 00:30:02 +00:00
#endif
void jdw (uint32_t ibytes);
#endif