linux/fs/affs/amigaffs.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef AMIGAFFS_H
#define AMIGAFFS_H

#include <linux/types.h>
#include <asm/byteorder.h>

#define FS_OFS
#define FS_FFS
#define FS_INTLOFS
#define FS_INTLFFS
#define FS_DCOFS
#define FS_DCFFS
#define MUFS_FS
#define MUFS_OFS
#define MUFS_FFS
#define MUFS_INTLOFS
#define MUFS_INTLFFS
#define MUFS_DCOFS
#define MUFS_DCFFS

#define T_SHORT
#define T_LIST
#define T_DATA

#define ST_LINKFILE
#define ST_FILE
#define ST_ROOT
#define ST_USERDIR
#define ST_SOFTLINK
#define ST_LINKDIR

#define AFFS_ROOT_BMAPS

/* Seconds since Amiga epoch of 1978/01/01 to UNIX */
#define AFFS_EPOCH_DELTA

struct affs_date {};

struct affs_short_date {};

struct affs_root_head {};

struct affs_root_tail {};

struct affs_head {};

struct affs_tail {};

struct slink_front
{};

struct affs_data_head
{};

/* Permission bits */

#define FIBF_OTR_READ
#define FIBF_OTR_WRITE
#define FIBF_OTR_EXECUTE
#define FIBF_OTR_DELETE
#define FIBF_GRP_READ
#define FIBF_GRP_WRITE
#define FIBF_GRP_EXECUTE
#define FIBF_GRP_DELETE

#define FIBF_HIDDEN
#define FIBF_SCRIPT
#define FIBF_PURE
#define FIBF_ARCHIVED
#define FIBF_NOREAD
#define FIBF_NOWRITE
#define FIBF_NOEXECUTE
#define FIBF_NODELETE

#define FIBF_OWNER
#define FIBF_MASK

#endif