Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

LocalFs Class Reference

#include <vfs.h>

Inheritance diagram for LocalFs:

Vfs Object List of all members.

Public Member Functions

void init ()
virtual void done ()
virtual int canonicalize (char *result, const char *filename, const char *cwd)
virtual int compareFilenames (const char *a, const char *b)
virtual int createFile (const char *filename, UINT createtype)
virtual int deleteFile (const char *filename)
virtual void * enumFiletype (UINT *type, char **name, void *handle)
virtual bool findFirst (const char *dirname, pfind_t *f)
virtual bool findNext (pfind_t *f)
virtual bool findClose (pfind_t *f)
virtual int getCaps ()
virtual const char * getProtoName ()
virtual is_path_delim isPathDelim ()
virtual int makeDir (const char *dirname)
virtual int open (const char *filename, bool edit)
virtual int pstat (pstat_t *s, const char *filename)
virtual int renameFile (const char *filename, const char *newname)
virtual int fileClose (ht_streamfile *f)
virtual int fileOpen (const char *filename, UINT access_mode, UINT open_mode, ht_streamfile **f)

Member Function Documentation

int LocalFs::canonicalize char *  result,
const char *  filename,
const char *  cwd
[virtual]
 

Implements Vfs.

Definition at line 58 of file vfs.cc.

References sys_common_canonicalize(), and sys_is_path_delim().

int LocalFs::compareFilenames const char *  a,
const char *  b
[virtual]
 

Implements Vfs.

Definition at line 64 of file vfs.cc.

References ht_stricmp().

int LocalFs::createFile const char *  filename,
UINT  createtype
[virtual]
 

Implements Vfs.

Definition at line 72 of file vfs.cc.

References UINT.

int LocalFs::deleteFile const char *  filename  )  [virtual]
 

Implements Vfs.

Definition at line 78 of file vfs.cc.

void LocalFs::done  )  [virtual]
 

Reimplemented from Object.

Definition at line 53 of file vfs.cc.

References Object::done().

void * LocalFs::enumFiletype UINT type,
char **  name,
void *  handle
[virtual]
 

Implements Vfs.

Definition at line 87 of file vfs.cc.

References NULL, and UINT.

int LocalFs::fileClose ht_streamfile f  )  [virtual]
 

Implements Vfs.

Definition at line 145 of file vfs.cc.

References ht_stream::done(), and ht_stream::get_error().

int LocalFs::fileOpen const char *  filename,
UINT  access_mode,
UINT  open_mode,
ht_streamfile **  f
[virtual]
 

Implements Vfs.

Definition at line 153 of file vfs.cc.

References file, and UINT.

bool LocalFs::findClose pfind_t f  )  [virtual]
 

Implements Vfs.

Definition at line 104 of file vfs.cc.

References sys_findclose().

bool LocalFs::findFirst const char *  dirname,
pfind_t f
[virtual]
 

Implements Vfs.

Definition at line 94 of file vfs.cc.

References sys_findfirst().

bool LocalFs::findNext pfind_t f  )  [virtual]
 

Implements Vfs.

Definition at line 99 of file vfs.cc.

References sys_findnext().

int LocalFs::getCaps  )  [virtual]
 

Implements Vfs.

Definition at line 109 of file vfs.cc.

References VFSCAP_WRITABLE.

const char * LocalFs::getProtoName  )  [virtual]
 

Implements Vfs.

Definition at line 114 of file vfs.cc.

void LocalFs::init  ) 
 

Reimplemented from Object.

Definition at line 48 of file vfs.cc.

References Object::init().

Referenced by build_vfs_list().

is_path_delim LocalFs::isPathDelim  )  [virtual]
 

Implements Vfs.

Definition at line 119 of file vfs.cc.

References is_path_delim, and sys_is_path_delim().

int LocalFs::makeDir const char *  dirname  )  [virtual]
 

Implements Vfs.

Definition at line 124 of file vfs.cc.

int LocalFs::open const char *  filename,
bool  edit
[virtual]
 

Implements Vfs.

Definition at line 130 of file vfs.cc.

int LocalFs::pstat pstat_t s,
const char *  filename
[virtual]
 

Implements Vfs.

Definition at line 135 of file vfs.cc.

References sys_pstat().

int LocalFs::renameFile const char *  filename,
const char *  newname
[virtual]
 

Implements Vfs.

Definition at line 140 of file vfs.cc.


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:07 2004 by doxygen 1.3.5