#ifndef PREFS_PREFHDR_H
#define PREFS_PREFHDR_H

/*
    Copyright (C) 1995-1997 AROS - The Amiga Replacement OS
    $Id: prefhdr.h,v 1.1 1997/04/23 05:29:56 aros Exp $

    Desc: File format for preferences header.
    Lang: english
*/

#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef LIBRARIES_IFFPARSE_H
#include <libraries/iffparse.h>
#endif

/* ---------------------------------------------------------------------- */

#define ID_PREF     MAKE_ID('P','R','E','F')
#define ID_PRHD     MAKE_ID('P','R','H','D')

/*
    Preferences header, must exist at the start of all preferences files.
    The ph_Type and ph_Flags are unused at the moment.
*/

struct PrefHeader
{
    UBYTE   ph_Version;     /* The version of the PrefHeader data */
    UBYTE   ph_Type;        /* The type of the PrefHeader data */
    ULONG   ph_Flags;       /* Flags, set to 0 for now */
};

#ifndef AROS_ALMOST_COMPATIBLE
#define PHV_AMIGAOS     0               /* Format from AmigaOS v36+ */
#define PHV_CURRENT     PHV_AMIGAOS     /* The current version */
#endif

/* ---------------------------------------------------------------------- */

#endif
