From a63a03f76603179345a51b679942d1dcd9d70d56 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 19 May 2006 20:39:54 +0000 Subject: [PATCH] Comments. --- src/filesys/directory.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/filesys/directory.h b/src/filesys/directory.h index f49bd3f..7955937 100644 --- a/src/filesys/directory.h +++ b/src/filesys/directory.h @@ -12,12 +12,16 @@ #define NAME_MAX 14 struct inode; + +/* Opening and closing directories. */ bool dir_create (disk_sector_t sector, size_t entry_cnt); struct dir *dir_open (struct inode *); struct dir *dir_open_root (void); struct dir *dir_reopen (struct dir *); void dir_close (struct dir *); struct inode *dir_get_inode (struct dir *); + +/* Reading and writing. */ bool dir_lookup (const struct dir *, const char *name, struct inode **); bool dir_add (struct dir *, const char *name, disk_sector_t); bool dir_remove (struct dir *, const char *name); -- 2.30.2