1 #ifndef PREFS_PREFHDR_H
2 #define PREFS_PREFHDR_H
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
8 File format for preferences header.
12 #include <exec/types.h>
14 #ifndef LIBRARIES_IFFPARSE_H
15 #include <libraries/iffparse.h>
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.
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 */