1 /* @(#)mactypes.h 1.3 04/03/01 joerg */ 2 3 #ifndef _MACTYPES_H 4 #define _MACTYPES_H 5 6 /* 7 * Various types of HFS files stored on Unix systems 8 */ 9 #define TYPE_NONE 0 /* Unknown file type (ordinary Unix file) */ 10 #define TYPE_CAP 1 /* AUFS CAP */ 11 #define TYPE_NETA 2 /* Netatalk */ 12 #define TYPE_DBL 3 /* AppleDouble */ 13 #define TYPE_ESH 4 /* Helios EtherShare */ 14 #define TYPE_FEU 5 /* PC Exchange (Upper case) */ 15 #define TYPE_FEL 6 /* PC Exchange (Lower case) */ 16 #define TYPE_SGI 7 /* SGI */ 17 #define TYPE_MBIN 8 /* MacBinary */ 18 #define TYPE_SGL 9 /* AppleSingle */ 19 #define TYPE_DAVE 10 /* DAVE (AppleDouble type) */ 20 #define TYPE_SFM 11 /* NTFS Services for Macintosh */ 21 #define TYPE_XDBL 12 /* MacOS X AppleDouble */ 22 #define TYPE_XHFS 13 /* MacOS X HFS */ 23 24 /* 25 * above encoded in a bit map 26 */ 27 #define DO_NONE (1 << TYPE_NONE) 28 #define DO_CAP (1 << TYPE_CAP) 29 #define DO_NETA (1 << TYPE_NETA) 30 #define DO_DBL (1 << TYPE_DBL) 31 #define DO_ESH (1 << TYPE_ESH) 32 #define DO_FEU (1 << TYPE_FEU) 33 #define DO_FEL (1 << TYPE_FEL) 34 #define DO_SGI (1 << TYPE_SGI) 35 #define DO_MBIN (1 << TYPE_MBIN) 36 #define DO_SGL (1 << TYPE_SGL) 37 #define DO_DAVE (1 << TYPE_DAVE) 38 #define DO_SFM (1 << TYPE_SFM) 39 #define DO_XDBL (1 << TYPE_XDBL) 40 #define DO_XHFS (1 << TYPE_XHFS) 41 42 /* 43 * flags describing how the data/rsrc/info files are stored 44 * in the whole file name 45 */ 46 #define INSERT 0x0 /* rsrc/info is inserted in name (default) */ 47 #define PROBE 0x1 /* need to probe file for type */ 48 #define NOPEND 0x2 /* info data in one file for all files */ 49 #define APPEND 0x4 /* rsrc/info appended to file name */ 50 #define NORSRC 0x8 /* rsrc for file may not exist */ 51 #define NOINFO 0x10 /* info file dosen't exist */ 52 53 #endif /* _MACTYPES_H */ 54