Changes in uspace/srv/fs/fat/fat_dentry.h [b06414f:b2906c0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_dentry.h
rb06414f rb2906c0 35 35 #define FAT_FAT_DENTRY_H_ 36 36 37 #include <ctype.h> 37 38 #include <stdint.h> 38 39 #include <stdbool.h> 39 #include <sys/types.h> 40 #include <stddef.h> 41 #include <unaligned.h> 40 42 41 43 #define IS_D_CHAR(ch) (isalnum(ch) || ch == '_') … … 44 46 #define FAT_NAME_LEN 8 45 47 #define FAT_EXT_LEN 3 48 #define FAT_VOLLABEL_LEN 11 46 49 47 50 #define FAT_NAME_DOT ". " … … 97 100 FAT_DENTRY_FREE, 98 101 FAT_DENTRY_VALID, 99 FAT_DENTRY_LFN 102 FAT_DENTRY_LFN, 103 FAT_DENTRY_VOLLABEL 100 104 } fat_dentry_clsf_t; 101 105 … … 137 141 extern void fat_dentry_name_get(const fat_dentry_t *, char *); 138 142 extern void fat_dentry_name_set(fat_dentry_t *, const char *); 143 extern void fat_dentry_vollabel_get(const fat_dentry_t *, char *); 139 144 extern fat_dentry_clsf_t fat_classify_dentry(const fat_dentry_t *); 140 145 extern uint8_t fat_dentry_chksum(uint8_t *); … … 147 152 148 153 extern void str_to_ascii(char *, const char *, size_t, uint8_t); 149 extern size_t utf16_length(const uint16_t *);150 154 151 155 extern bool fat_valid_name(const char *);
Note:
See TracChangeset
for help on using the changeset viewer.