sofs19  0.1
FUSE based file system
direntry.h
Go to the documentation of this file.
1 
10 #ifndef __SOFS19_DIRENTRY__
11 #define __SOFS19_DIRENTRY__
12 
13 #include <inttypes.h>
14 
15 namespace sofs19
16 {
17 
28 #define SOFS19_MAX_NAME 27
29 
31  struct SODirEntry
32  {
33 
35  uint32_t in;
36 
38  char name[SOFS19_MAX_NAME + 1];
39  };
40 
43 };
44 
45 #endif /* __SOFS19_DIRENTRY__ */
sofs19::SODirEntry::in
uint32_t in
the associated inode number
Definition: direntry.h:35
sofs19::SODirEntry::name
char name[SOFS19_MAX_NAME+1]
the name of a file (NULL-terminated string)
Definition: direntry.h:38
SOFS19_MAX_NAME
#define SOFS19_MAX_NAME
maximum length of a file name (in characters)
Definition: direntry.h:28
sofs19::SODirEntry
Definition of the directory entry data type.
Definition: direntry.h:31