Functions | |
GWENHYWFAR_API int | GWEN_Directory_Close (GWEN_DIRECTORYDATA *d) |
GWENHYWFAR_API int | GWEN_Directory_Create (const char *path) |
GWENHYWFAR_API int | GWEN_Directory_CreatePublic (const char *path) |
GWENHYWFAR_API int | GWEN_Directory_FindFileInPaths (const GWEN_STRINGLIST *paths, const char *filePath, GWEN_BUFFER *fbuf) |
GWENHYWFAR_API int | GWEN_Directory_FindPathForFile (const GWEN_STRINGLIST *paths, const char *filePath, GWEN_BUFFER *fbuf) |
GWENHYWFAR_API void | GWEN_Directory_free (GWEN_DIRECTORYDATA *d) |
GWENHYWFAR_API int | GWEN_Directory_GetHomeDirectory (char *buffer, unsigned int size) |
GWENHYWFAR_API int | GWEN_Directory_GetPath (const char *path, unsigned int flags) |
GWENHYWFAR_API GWEN_DIRECTORYDATA * | GWEN_Directory_new () |
GWENHYWFAR_API int | GWEN_Directory_Open (GWEN_DIRECTORYDATA *d, const char *n) |
GWENHYWFAR_API int | GWEN_Directory_OsifyPath (const char *path, GWEN_BUFFER *pbuf, int transformDriveElement) |
GWENHYWFAR_API int | GWEN_Directory_Read (GWEN_DIRECTORYDATA *d, char *buffer, unsigned int len) |
GWENHYWFAR_API int | GWEN_Directory_Rewind (GWEN_DIRECTORYDATA *d) |
|
Closes a previously opened directory.
|
|
Creates a directory. |
|
Creates a public directory (a folder which can be listed and entered by anyone) |
|
|
|
|
|
Destructor |
|
Get the current users home directory and copy it into the given buffer.
|
|
Gets a file path. It uses Paths to either create or check for the existence of a given path.
|
|
Constructor. |
|
Opens a directory. This allows calling "Directory_Read" to succeed.
|
|
Takes a path and translates it into a path that the running platform can understand. This is needed for unix paths used on Windows. If transformDriveElement is !=0 on Windows platforms and the first element of the path is "/x" (with x being [a..z,A..Z]) then this element is translated into the corresponding drive letter sequence (x:). Slashes and backslashes are transformed as needed by the running platform. Duplicate slashes/backslashed are removed.
|
|
Reads the next entry from a directory and stores the name of that entry in the given buffer. The entry returned is relative to the open directory.
|
|
Rewinds the internal pointers, so that the next call to
|