patch genisoimage multi extent
[platform/upstream/cdrkit.git] / genisoimage / mactypes.h
1 /*
2  * This file has been modified for the cdrkit suite.
3  *
4  * The behaviour and appearence of the program code below can differ to a major
5  * extent from the version distributed by the original author(s).
6  *
7  * For details, see Changelog file distributed with the cdrkit package. If you
8  * received this file from another source then ask the distributing person for
9  * a log of modifications.
10  *
11  */
12
13 /* @(#)mactypes.h       1.3 04/03/01 joerg */
14
15 #ifndef _MACTYPES_H
16 #define _MACTYPES_H
17
18 /*
19  * Various types of HFS files stored on Unix systems
20  */
21 #define TYPE_NONE       0       /* Unknown file type (ordinary Unix file) */
22 #define TYPE_CAP        1       /* AUFS CAP */
23 #define TYPE_NETA       2       /* Netatalk */
24 #define TYPE_DBL        3       /* AppleDouble */
25 #define TYPE_ESH        4       /* Helios EtherShare */
26 #define TYPE_FEU        5       /* PC Exchange (Upper case) */
27 #define TYPE_FEL        6       /* PC Exchange (Lower case) */
28 #define TYPE_SGI        7       /* SGI */
29 #define TYPE_MBIN       8       /* MacBinary */
30 #define TYPE_SGL        9       /* AppleSingle */
31 #define TYPE_DAVE       10      /* DAVE (AppleDouble type) */
32 #define TYPE_SFM        11      /* NTFS Services for Macintosh */
33 #define TYPE_XDBL       12      /* MacOS X AppleDouble */
34 #define TYPE_XHFS       13      /* MacOS X HFS */
35
36 /*
37  * above encoded in a bit map
38  */
39 #define DO_NONE         (1 << TYPE_NONE)
40 #define DO_CAP          (1 << TYPE_CAP)
41 #define DO_NETA         (1 << TYPE_NETA)
42 #define DO_DBL          (1 << TYPE_DBL)
43 #define DO_ESH          (1 << TYPE_ESH)
44 #define DO_FEU          (1 << TYPE_FEU)
45 #define DO_FEL          (1 << TYPE_FEL)
46 #define DO_SGI          (1 << TYPE_SGI)
47 #define DO_MBIN         (1 << TYPE_MBIN)
48 #define DO_SGL          (1 << TYPE_SGL)
49 #define DO_DAVE         (1 << TYPE_DAVE)
50 #define DO_SFM          (1 << TYPE_SFM)
51 #define DO_XDBL         (1 << TYPE_XDBL)
52 #define DO_XHFS         (1 << TYPE_XHFS)
53
54 /*
55  * flags describing how the data/rsrc/info files are stored
56  * in the whole file name
57  */
58 #define INSERT          0x0     /* rsrc/info is inserted in name (default) */
59 #define PROBE           0x1     /* need to probe file for type */
60 #define NOPEND          0x2     /* info data in one file for all files */
61 #define APPEND          0x4     /* rsrc/info appended to file name */
62 #define NORSRC          0x8     /* rsrc for file may not exist */
63 #define NOINFO          0x10    /* info file dosen't exist */
64
65 #endif /* _MACTYPES_H */