41typedef unsigned int __u32;
55#if __BYTE_ORDER == __BIG_ENDIAN
67#include "endian_compat.h"
70#define offsetof(t,e) ((int)&(((t *)0)->e))
78#define VFAT_LN_ATTR (ATTR_RO | ATTR_HIDDEN | ATTR_SYS | ATTR_VOLUME)
80#define FAT_STATE_DIRTY 0x01
225#define FAT_EOF(fs) ((atari_format ? 0xfff : 0xff8) | FAT_EXTD(fs))
226#define FAT_IS_EOF(fs,v) ((uint32_t)(v) >= (0xff8|FAT_EXTD(fs)))
228#define FAT_BAD(fs) (0xff7 | FAT_EXTD(fs))
230#define FAT_MIN_BAD(fs) ((atari_format ? 0xff0 : 0xff7) | FAT_EXTD(fs))
231#define FAT_MAX_BAD(fs) ((atari_format ? 0xff7 : 0xff7) | FAT_EXTD(fs))
232#define FAT_IS_BAD(fs,v) ((v) >= FAT_MIN_BAD(fs) && (v) <= FAT_MAX_BAD(fs))
235#define FAT_EXTD(fs) (((1 << fs->eff_fat_bits)-1) & ~0xf)
238#define FAT_NO_83NAME 32
unsigned short int uint16_t
struct _dos_file DOS_FILE
struct info_sector __attribute__
GLuint GLenum GLsizei GLsizei GLint GLint GLboolean packed
unsigned int cluster_size
unsigned int eff_fat_bits
DOS_FILE ** cluster_owner
unsigned int root_entries
struct _dos_file * parent