Subversion Repositories HelenOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* The layout of a directory. */
  2.  
  3.  
  4. #ifndef _DIR_H
  5. #define _DIR_H
  6.  
  7. #define DIRBLKSIZ   512     /* size of directory block */
  8. #define DIRSIZ      14
  9. #define DIRSIZEX    30
  10.  
  11. #include "inode.h"
  12.  
  13. typedef struct {
  14.     ino_t d_ino;
  15.     char d_name[DIRSIZ];
  16. } direct_t;
  17.  
  18. typedef struct {
  19.     ino_t d_ino;
  20.     char d_name[DIRSIZEX];
  21. } directex_t;
  22.  
  23. direct_t direct;
  24. directex_t directex;
  25.  
  26. #endif /* _DIR_H */
  27.  
  28.