libmfs/fobj.h
Jesús A. Álvarez 2cf4587517 fobj structure
2009-04-02 19:14:27 +00:00

17 lines
645 B
C

// reverse engineered FOBJ resource
struct __attribute__ ((__packed__)) FOBJrsrc {
int16_t fdType; // 8 = folder, 4 = disk
struct {
int16_t v,h;
} fdIconPos; // icon position in window
char _rsv1[6]; // unknown
int16_t parent; // parent folder, kMFSFolder*
char _rsv2[12]; // unknown
uint32_t fdCrDat; // creation date (mac)
uint32_t fdMdDat; // modification date (mac)
char _rsv3[4]; // unknown (backup date?)
uint16_t fdFlags; // finder flags
char _rsv4[]; // the resource is bigger
};
typedef struct FOBJrsrc FOBJrsrc;