/home/briantrice/src/slate-language/src/vm/external-directory.cpp File Reference

#include "slate.hpp"

Include dependency graph for external-directory.cpp:

Go to the source code of this file.

Functions

void dir_module_init (struct object_heap *oh)
bool_t dir_handle_isvalid (struct object_heap *oh, word_t dir)
int dir_open (struct object_heap *oh, struct ByteArray *dirName)
int dir_close (struct object_heap *oh, int dirHandle)
int dir_read (struct object_heap *oh, int dirHandle, struct ByteArray *entNameBuffer)
int dir_getcwd (struct ByteArray *pathBuffer)
int dir_setcwd (struct ByteArray *newpath)
bool_t dir_make (struct object_heap *oh, char *dir)
bool_t dir_delete (struct object_heap *oh, char *dir)
word_t slate_direntry_type (unsigned char d_type)
bool_t dir_rename_to (struct object_heap *oh, char *src, char *dest)


Function Documentation

int dir_close ( struct object_heap oh,
int  dirHandle 
)

Definition at line 51 of file external-directory.cpp.

bool_t dir_delete ( struct object_heap oh,
char *  dir 
)

Definition at line 143 of file external-directory.cpp.

int dir_getcwd ( struct ByteArray pathBuffer  ) 

Definition at line 97 of file external-directory.cpp.

bool_t dir_handle_isvalid ( struct object_heap oh,
word_t  dir 
)

Definition at line 13 of file external-directory.cpp.

bool_t dir_make ( struct object_heap oh,
char *  dir 
)

Definition at line 135 of file external-directory.cpp.

void dir_module_init ( struct object_heap oh  ) 

Definition at line 8 of file external-directory.cpp.

int dir_open ( struct object_heap oh,
struct ByteArray dirName 
)

Definition at line 26 of file external-directory.cpp.

int dir_read ( struct object_heap oh,
int  dirHandle,
struct ByteArray entNameBuffer 
)

Definition at line 61 of file external-directory.cpp.

bool_t dir_rename_to ( struct object_heap oh,
char *  src,
char *  dest 
)

Definition at line 201 of file external-directory.cpp.

int dir_setcwd ( struct ByteArray newpath  ) 

Definition at line 106 of file external-directory.cpp.

word_t slate_direntry_type ( unsigned char  d_type  ) 

Definition at line 151 of file external-directory.cpp.


Generated on Fri Feb 5 09:54:06 2010 for Slate VM by  doxygen 1.5.8