Rev 3674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3674 | Rev 4345 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | uint16_t cdate; |
71 | uint16_t cdate; |
72 | uint16_t adate; |
72 | uint16_t adate; |
73 | union { |
73 | union { |
74 | uint16_t eaidx; /* FAT12/FAT16 */ |
74 | uint16_t eaidx; /* FAT12/FAT16 */ |
75 | uint16_t firstc_hi; /* FAT32 */ |
75 | uint16_t firstc_hi; /* FAT32 */ |
76 | }; |
76 | } __attribute__ ((packed)); |
77 | uint16_t mtime; |
77 | uint16_t mtime; |
78 | uint16_t mdate; |
78 | uint16_t mdate; |
79 | union { |
79 | union { |
80 | uint16_t firstc; /* FAT12/FAT16 */ |
80 | uint16_t firstc; /* FAT12/FAT16 */ |
81 | uint16_t firstc_lo; /* FAT32 */ |
81 | uint16_t firstc_lo; /* FAT32 */ |
82 | }; |
82 | } __attribute__ ((packed)); |
83 | uint32_t size; |
83 | uint32_t size; |
84 | } __attribute__ ((packed)) fat_dentry_t; |
84 | } __attribute__ ((packed)) fat_dentry_t; |
85 | 85 | ||
86 | extern int fat_dentry_namecmp(char *, const char *); |
86 | extern int fat_dentry_namecmp(char *, const char *); |
87 | extern bool fat_dentry_name_verify(const char *); |
87 | extern bool fat_dentry_name_verify(const char *); |