X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fexfat-utils.git;a=blobdiff_plain;f=libexfat%2Fexfatfs.h;h=84c6f97c453eae8a28d054e539042d299a15de8d;hp=eca2cacea15613b11a53b623691f2decccee091e;hb=9fc645b877c3ed3d6436a8aad3daa584b8ad1688;hpb=9420cfdeee25e4d97e7fc6f7cbb286e5089caccb diff --git a/libexfat/exfatfs.h b/libexfat/exfatfs.h index eca2cac..84c6f97 100644 --- a/libexfat/exfatfs.h +++ b/libexfat/exfatfs.h @@ -3,7 +3,7 @@ Definitions of structures and constants used in exFAT file system. Free exFAT implementation. - Copyright (C) 2010-2015 Andrew Nayenko + Copyright (C) 2010-2017 Andrew Nayenko This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -78,6 +78,9 @@ STATIC_ASSERT(sizeof(struct exfat_super_block) == 512); #define EXFAT_ENTRY_FILE (0x05 | EXFAT_ENTRY_VALID) #define EXFAT_ENTRY_FILE_INFO (0x00 | EXFAT_ENTRY_VALID | EXFAT_ENTRY_CONTINUED) #define EXFAT_ENTRY_FILE_NAME (0x01 | EXFAT_ENTRY_VALID | EXFAT_ENTRY_CONTINUED) +#define EXFAT_ENTRY_FILE_TAIL (0x00 | EXFAT_ENTRY_VALID \ + | EXFAT_ENTRY_CONTINUED \ + | EXFAT_ENTRY_OPTIONAL) struct exfat_entry /* common container for all entries */ { @@ -99,6 +102,8 @@ struct exfat_entry_bitmap /* allocated clusters bitmap */ PACKED; STATIC_ASSERT(sizeof(struct exfat_entry_bitmap) == 32); +#define EXFAT_UPCASE_CHARS 0x10000 + struct exfat_entry_upcase /* upper case translation table */ { uint8_t type; /* EXFAT_ENTRY_UPCASE */