phatdir.h File Reference


Detailed Description

PHAT file system.

 *
 * $Log: phatdir.h,v $
 * Revision 1.1  2006/01/05 16:32:52  haraldkipp
 * First check-in.
 *
 *
 * 


Data Structures

struct  _PHATDIRENT
 Structure of a directory entry. More...
struct  _PHATFIND

Defines

#define PHAT_REM_DIRENT
#define PHAT_REM_NAMENT

Typedefs

typedef _PHATDIRENT PHATDIRENT
 Structure of a directory entry.
typedef _PHATFIND PHATFIND

Functions

int PhatDirEntryCreate (NUTFILE *ndp, CONST char *name, int acc, PHATDIRENT *dirent)
 Create a new directory entry.
int PhatDirEntryUpdate (NUTFILE *ndp)
 Update directory entry of an opened file or directory.
int PhatDirDelEntry (NUTDEVICE *dev, CONST char *path, u_long flags)
 Remove a directory entry.
int PhatDirRenameEntry (NUTDEVICE *dev, CONST char *old_path, CONST char *new_path)
 Rename file.
NUTFILEPhatDirOpen (NUTDEVICE *dev, char *dpath)
 Open a directory.
int PhatDirEntryFind (NUTFILE *nfp, CONST char *spec, u_long flags, PHATFIND *srch)
 Find a directory entry with a specified name.
int PhatDirRead (DIR *dir)
 Read the next directory entry.
int PhatDirCreate (NUTDEVICE *dev, char *path)
 Create a new subdirectory.
int PhatDirRemove (NUTDEVICE *dev, char *path)
 Remove a specified subdirectory.
int PhatDirEntryStatus (NUTDEVICE *dev, CONST char *path, struct stat *s)
 Retrieve status of a specified file.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/