minix/servers/mfs/mfsdir.h
Thomas Veerman ab19ece134 Define protocol version of {mode,ino,uid,gid}_t
Change-Id: Ia2027749f2ce55a561d19eb895a5618505e9a2ac
2014-02-18 11:25:01 +01:00

20 lines
392 B
C

#ifndef _MFSDIR_H
#define _MFSDIR_H
#include <sys/cdefs.h>
#include <sys/types.h>
/* Maximum Minix MFS on-disk directory filename.
* MFS uses 'struct direct' to write and parse
* directory entries, so this can't be changed
* without breaking filesystems.
*/
#define MFS_DIRSIZ 60
struct direct {
pino_t mfs_d_ino;
char mfs_d_name[MFS_DIRSIZ];
} __packed;
#endif /* _MFSDIR_H */