ReactOS 0.4.16-dev-319-g6cf4263
|
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | msdos_dir_entry |
Macros | |
#define | SECTOR_SIZE 512 /* sector size (bytes) */ |
#define | MSDOS_DPS (SECTOR_SIZE / sizeof(struct msdos_dir_entry)) |
#define | MSDOS_DPS_BITS 4 /* log2(MSDOS_DPS) */ |
#define | MSDOS_DIR_BITS 5 /* log2(sizeof(struct msdos_dir_entry)) */ |
#define | ATTR_NONE 0 /* no attribute bits */ |
#define | ATTR_RO 1 /* read-only */ |
#define | ATTR_HIDDEN 2 /* hidden */ |
#define | ATTR_SYS 4 /* system */ |
#define | ATTR_VOLUME 8 /* volume label */ |
#define | ATTR_DIR 16 /* directory */ |
#define | ATTR_ARCH 32 /* archived */ |
#define | ATTR_UNUSED (ATTR_VOLUME | ATTR_ARCH | ATTR_SYS | ATTR_HIDDEN) |
#define | DELETED_FLAG 0xe5 /* marks file as deleted when in name[0] */ |
#define | IS_FREE(n) (!*(n) || *(n) == DELETED_FLAG) |
#define | MSDOS_NAME 11 /* maximum name length */ |
#define | MSDOS_DOT ". " /* ".", padded to MSDOS_NAME chars */ |
#define | MSDOS_DOTDOT ".. " /* "..", padded to MSDOS_NAME chars */ |
Functions | |
struct msdos_dir_entry | __attribute__ ((packed)) |
Variables | |
uint8_t | name [MSDOS_NAME] |
uint8_t | attr |
uint8_t | lcase |
uint8_t | ctime_cs |
uint16_t | ctime |
uint16_t | cdate |
uint16_t | adate |
uint16_t | starthi |
uint16_t | time |
uint16_t | date |
uint16_t | start |
uint32_t | size |
#define ATTR_ARCH 32 /* archived */ |
Definition at line 38 of file msdos_fs.h.
Definition at line 37 of file msdos_fs.h.
Definition at line 34 of file msdos_fs.h.
Definition at line 33 of file msdos_fs.h.
Definition at line 35 of file msdos_fs.h.
#define ATTR_UNUSED (ATTR_VOLUME | ATTR_ARCH | ATTR_SYS | ATTR_HIDDEN) |
Definition at line 41 of file msdos_fs.h.
Definition at line 36 of file msdos_fs.h.
Definition at line 43 of file msdos_fs.h.
#define IS_FREE | ( | n | ) | (!*(n) || *(n) == DELETED_FLAG) |
Definition at line 44 of file msdos_fs.h.
#define MSDOS_DIR_BITS 5 /* log2(sizeof(struct msdos_dir_entry)) */ |
Definition at line 30 of file msdos_fs.h.
#define MSDOS_DOT ". " /* ".", padded to MSDOS_NAME chars */ |
Definition at line 47 of file msdos_fs.h.
#define MSDOS_DOTDOT ".. " /* "..", padded to MSDOS_NAME chars */ |
Definition at line 48 of file msdos_fs.h.
#define MSDOS_DPS (SECTOR_SIZE / sizeof(struct msdos_dir_entry)) |
Definition at line 28 of file msdos_fs.h.
Definition at line 29 of file msdos_fs.h.
Definition at line 46 of file msdos_fs.h.
Definition at line 43 of file framebased-gcchack.c.
uint16_t adate |
Definition at line 6 of file msdos_fs.h.
Definition at line 1 of file msdos_fs.h.
uint16_t cdate |
Definition at line 5 of file msdos_fs.h.
uint16_t ctime |
Definition at line 4 of file msdos_fs.h.
uint8_t ctime_cs |
Definition at line 3 of file msdos_fs.h.
uint16_t date |
Definition at line 8 of file msdos_fs.h.
uint8_t lcase |
Definition at line 2 of file msdos_fs.h.
Definition at line 0 of file msdos_fs.h.
Definition at line 9 of file msdos_fs.h.
Definition at line 8 of file msdos_fs.h.
uint16_t starthi |
Definition at line 7 of file msdos_fs.h.
uint16_t time |
Definition at line 8 of file msdos_fs.h.