tac0S
Template Affectional Command Operating System
Classes | Macros
directory.h File Reference

Data structures to manage a UNIX-like directory of file names. More...

#include "copyright.h"
#include "openfile.h"

Go to the source code of this file.

Classes

class  DirectoryEntry
 The following class defines a "directory entry", representing a file in the directory. Each entry gives the name of the file, and where the file's header is to be found on disk. More...
 
class  Directory
 

Macros

#define FileNameMaxLen   15
 

Detailed Description

Data structures to manage a UNIX-like directory of file names.

Author
Olivier Hureau, Hugo Feydel , Julien ALaimo A directory is a table of pairs: <file name, sector #>, giving the name of each file in the directory, and where to find its file header (the data structure describing where to find the file's data blocks) on disk.

We assume mutual exclusion is provided by the caller.

Copyright (c) 1992-1993 The Regents of the University of California. All rights reserved. See copyright.h for copyright notice and limitation of liability and disclaimer of warranty provisions.