Install crosstools into its own directory. Tools dir much cleaner now.
[AROS.git] / compiler / include / prefs / prefhdr.h
blob145c8d08d460833c6e2924bfeb858c9adf0db1de
1 #ifndef PREFS_PREFHDR_H
2 #define PREFS_PREFHDR_H
4 /*
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 $Id$
8 File format for preferences header.
9 */
11 #ifndef EXEC_TYPES_H
12 #include <exec/types.h>
13 #endif
14 #ifndef LIBRARIES_IFFPARSE_H
15 #include <libraries/iffparse.h>
16 #endif
18 /* ---------------------------------------------------------------------- */
20 #define ID_PREF MAKE_ID('P','R','E','F')
21 #define ID_PRHD MAKE_ID('P','R','H','D')
24 Preferences header which must exist at the start of all preferences files.
25 The ph_Type and ph_Flags are unused at the moment.
28 struct PrefHeader
30 UBYTE ph_Version; /* The version of the PrefHeader data */
31 UBYTE ph_Type; /* The type of the PrefHeader data */
32 ULONG ph_Flags; /* Flags, set to 0 for now */
33 } __attribute__((__packed__));
35 #define PHV_AMIGAOS 0 /* Format from AmigaOS v36+ */
36 #define PHV_CURRENT PHV_AMIGAOS /* The current version */
38 #endif /* PREFS_PREFHDR_H */