ReactOS 0.4.16-dev-340-g0540c21
|
#include "vfatlib.h"
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | LFN_ENT |
Macros | |
#define | NDEBUG |
#define | LFN_ID_START 0x40 |
#define | LFN_ID_SLOTMASK 0x1f |
#define | CHARS_PER_LFN 13 |
#define | UNICODE_CONVERTABLE(cl, ch) (ch == 0 && (cl < 0x80 || cl >= 0xa0)) |
#define | UNTIL_0 INT_MAX |
#define | CNV_THIS_PART(lfn) |
#define | CNV_PARTS_SO_FAR() |
#define | BYTES_TO_WCHAR(cl, ch) ((wchar_t)((unsigned)(cl) + ((unsigned)(ch) << 8))) |
Functions | |
static size_t | mbslen (wchar_t x) |
static size_t | wctombs (char *dest, wchar_t x) |
static char * | cnv_unicode (const unsigned char *uni, int maxlen, int use_q) |
static void | copy_lfn_part (unsigned char *dst, LFN_ENT *lfn) |
static void | clear_lfn_slots (int start, int end) |
void | lfn_fix_checksum (off_t from, off_t to, const char *short_name) |
void | lfn_reset (void) |
void | lfn_add_slot (DIR_ENT *de, off_t dir_offset) |
char * | lfn_get (DIR_ENT *de, off_t *lfn_offset) |
void | lfn_check_orphaned (void) |
Variables | |
unsigned char * | lfn_unicode = NULL |
unsigned char | lfn_checksum |
int | lfn_slot = -1 |
off_t * | lfn_offsets = NULL |
int | lfn_parts = 0 |
static unsigned char | fat_uni2esc [64] |
#define CNV_PARTS_SO_FAR | ( | ) |
#define CNV_THIS_PART | ( | lfn | ) |
#define UNICODE_CONVERTABLE | ( | cl, | |
ch | |||
) | (ch == 0 && (cl < 0x80 || cl >= 0xa0)) |
Definition at line 164 of file lfn.c.
Referenced by lfn_add_slot(), lfn_check_orphaned(), and lfn_get().
Definition at line 206 of file lfn.c.
Referenced by add_file().
Definition at line 517 of file lfn.c.
Referenced by add_file(), lfn_add_slot(), scan_dir(), and scan_root().
Definition at line 181 of file lfn.c.
Referenced by auto_rename(), and rename_file().
Definition at line 418 of file lfn.c.
Referenced by add_file().
Definition at line 193 of file lfn.c.
Referenced by lfn_add_slot(), lfn_check_orphaned(), lfn_get(), and new_dir().
Definition at line 52 of file lfn.c.
Referenced by cnv_unicode().
Definition at line 47 of file lfn.c.
Referenced by lfn_add_slot(), and lfn_get().
Definition at line 49 of file lfn.c.
Referenced by clear_lfn_slots(), lfn_add_slot(), lfn_get(), and lfn_reset().
int lfn_parts = 0 |
Definition at line 50 of file lfn.c.
Referenced by lfn_add_slot(), lfn_check_orphaned(), and lfn_get().
int lfn_slot = -1 |
Definition at line 48 of file lfn.c.
Referenced by lfn_add_slot(), lfn_check_orphaned(), lfn_get(), and lfn_reset().
Definition at line 46 of file lfn.c.
Referenced by lfn_add_slot(), lfn_get(), and lfn_reset().