#include <stddef.h>#include <stdint.h>
Go to the source code of this file.
Classes | |
| struct | drfs_archive_callbacks |
| struct | drfs_basedirs |
| struct | drfs_basepath |
| struct | drfs_callbacklist |
| struct | drfs_context |
| struct | drfs_file_info |
| struct | drfs_iterator |
Macros | |
| #define | DR_FALSE 0 |
| #define | DR_SIZED_TYPES_DEFINED |
| #define | DR_TRUE 1 |
| #define | DRFS_CREATE_DIRS (1 << 4) |
| #define | DRFS_EXISTING (1 << 2) |
| #define | DRFS_FILE_ATTRIBUTE_DIRECTORY 0x00000001 |
| #define | DRFS_FILE_ATTRIBUTE_READONLY 0x00000002 |
| #define | DRFS_MAX_PATH 1024 |
| #define | DRFS_READ (1 << 0) |
| #define | DRFS_TRUNCATE (1 << 3) |
| #define | DRFS_WRITE (1 << 1) |
Typedefs | |
| typedef dr_uint32 | dr_bool32 |
| typedef dr_uint8 | dr_bool8 |
| typedef int16_t | dr_int16 |
| typedef int32_t | dr_int32 |
| typedef int64_t | dr_int64 |
| typedef int8_t | dr_int8 |
| typedef uint16_t | dr_uint16 |
| typedef uint32_t | dr_uint32 |
| typedef uint64_t | dr_uint64 |
| typedef uint8_t | dr_uint8 |
| typedef struct drfs_archive | drfs_archive |
| typedef drfs_handle(* | drfs_begin_iteration_proc) (drfs_handle archive, const char *relativePath) |
| typedef void(* | drfs_close_archive_proc) (drfs_handle archive) |
| typedef void(* | drfs_close_file_proc) (drfs_handle archive, drfs_handle file) |
| typedef struct drfs_context | drfs_context |
| typedef drfs_result(* | drfs_copy_file_proc) (drfs_handle archive, const char *relativePathSrc, const char *relativePathDst, dr_bool32 failIfExists) |
| typedef drfs_result(* | drfs_create_directory_proc) (drfs_handle archive, const char *relativePath) |
| typedef drfs_result(* | drfs_delete_file_proc) (drfs_handle archive, const char *relativePath) |
| typedef void(* | drfs_end_iteration_proc) (drfs_handle archive, drfs_handle iterator) |
| typedef struct drfs_file | drfs_file |
| typedef struct drfs_file_info | drfs_file_info |
| typedef dr_uint64(* | drfs_file_size_proc) (drfs_handle archive, drfs_handle file) |
| typedef void(* | drfs_flush_file_proc) (drfs_handle archive, drfs_handle file) |
| typedef drfs_result(* | drfs_get_file_info_proc) (drfs_handle archive, const char *relativePath, drfs_file_info *fi) |
| typedef void * | drfs_handle |
| typedef dr_bool32(* | drfs_is_valid_extension_proc) (const char *extension) |
| typedef struct drfs_iterator | drfs_iterator |
| typedef drfs_result(* | drfs_move_file_proc) (drfs_handle archive, const char *relativePathOld, const char *relativePathNew) |
| typedef dr_bool32(* | drfs_next_iteration_proc) (drfs_handle archive, drfs_handle iterator, drfs_file_info *fi) |
| typedef drfs_result(* | drfs_open_archive_proc) (drfs_file *pArchiveFile, unsigned int accessMode, drfs_handle *pHandleOut) |
| typedef drfs_result(* | drfs_open_file_proc) (drfs_handle archive, const char *relativePath, unsigned int accessMode, drfs_handle *pHandleOut) |
| typedef drfs_result(* | drfs_read_file_proc) (drfs_handle archive, drfs_handle file, void *pDataOut, size_t bytesToRead, size_t *pBytesReadOut) |
| typedef drfs_result(* | drfs_seek_file_proc) (drfs_handle archive, drfs_handle file, dr_int64 bytesToSeek, drfs_seek_origin origin) |
| typedef dr_uint64(* | drfs_tell_file_proc) (drfs_handle archive, drfs_handle file) |
| typedef drfs_result(* | drfs_write_file_proc) (drfs_handle archive, drfs_handle file, const void *pData, size_t bytesToWrite, size_t *pBytesWrittenOut) |
Functions | |
| void | drfs_add_base_directory (drfs_context *pContext, const char *absolutePath) |
| dr_bool32 | drfs_begin (drfs_context *pContext, const char *absoluteOrRelativePath, drfs_iterator *pIteratorOut) |
| void | drfs_close (drfs_file *pFile) |
| void | drfs_close_archive (drfs_archive *pArchive) |
| drfs_result | drfs_copy_file (drfs_context *pContext, const char *srcPath, const char *dstPath, dr_bool32 failIfExists) |
| drfs_context * | drfs_create_context () |
| drfs_result | drfs_create_directory (drfs_context *pContext, const char *path) |
| drfs_result | drfs_create_directory_recursive (drfs_context *pContext, const char *path) |
| void | drfs_delete_context (drfs_context *pContext) |
| drfs_result | drfs_delete_file (drfs_context *pContext, const char *path) |
| void | drfs_disable_write_directory_guard (drfs_context *pContext) |
| void | drfs_enable_write_directory_guard (drfs_context *pContext) |
| void | drfs_end (drfs_context *pContext, drfs_iterator *pIterator) |
| dr_bool32 | drfs_eof (drfs_file *pFile) |
| dr_bool32 | drfs_exists (drfs_context *pContext, const char *absoluteOrRelativePath) |
| drfs_result | drfs_find_absolute_path (drfs_context *pContext, const char *relativePath, char *absolutePathOut, size_t absolutePathOutSize) |
| drfs_result | drfs_find_absolute_path_explicit_base (drfs_context *pContext, const char *relativePath, const char *highestPriorityBasePath, char *absolutePathOut, size_t absolutePathOutSize) |
| void | drfs_flush (drfs_file *pFile) |
| void | drfs_free (void *p) |
| const char * | drfs_get_base_directory_by_index (drfs_context *pContext, unsigned int index) |
| unsigned int | drfs_get_base_directory_count (drfs_context *pContext) |
| dr_bool32 | drfs_get_base_write_directory (drfs_context *pContext, char *absolutePathOut, unsigned int absolutePathOutSize) |
| drfs_result | drfs_get_file_info (drfs_context *pContext, const char *absoluteOrRelativePath, drfs_file_info *fi) |
| drfs_result | drfs_init (drfs_context *pContext) |
| void | drfs_insert_base_directory (drfs_context *pContext, const char *absolutePath, unsigned int index) |
| dr_bool32 | drfs_is_archive_path (drfs_context *pContext, const char *path) |
| dr_bool32 | drfs_is_base_directory (drfs_context *pContext, const char *baseDir) |
| dr_bool32 | drfs_is_existing_directory (drfs_context *pContext, const char *absoluteOrRelativePath) |
| dr_bool32 | drfs_is_existing_file (drfs_context *pContext, const char *absoluteOrRelativePath) |
| dr_bool32 | drfs_is_write_directory_guard_enabled (drfs_context *pContext) |
| dr_bool32 | drfs_lock (drfs_file *pFile) |
| drfs_result | drfs_move_file (drfs_context *pContext, const char *pathOld, const char *pathNew) |
| dr_bool32 | drfs_next (drfs_context *pContext, drfs_iterator *pIterator) |
| drfs_result | drfs_open (drfs_context *pContext, const char *absoluteOrRelativePath, unsigned int accessMode, drfs_file **ppFileOut) |
| void * | drfs_open_and_read_binary_file (drfs_context *pContext, const char *absoluteOrRelativePath, size_t *pSizeInBytesOut) |
| char * | drfs_open_and_read_text_file (drfs_context *pContext, const char *absoluteOrRelativePath, size_t *pSizeInBytesOut) |
| drfs_result | drfs_open_and_write_binary_file (drfs_context *pContext, const char *absoluteOrRelativePath, const void *pData, size_t dataSize) |
| drfs_result | drfs_open_and_write_text_file (drfs_context *pContext, const char *absoluteOrRelativePath, const char *pTextData) |
| drfs_result | drfs_open_archive (drfs_context *pContext, const char *absoluteOrRelativePath, unsigned int accessMode, drfs_archive **ppArchiveOut) |
| drfs_result | drfs_open_file_from_archive (drfs_archive *pArchive, const char *relativePath, unsigned int accessMode, drfs_file **ppFileOut) |
| drfs_result | drfs_open_owner_archive (drfs_context *pContext, const char *absoluteOrRelativePath, unsigned int accessMode, char *relativePathOut, size_t relativePathOutSize, drfs_archive **ppArchiveOut) |
| drfs_result | drfs_read (drfs_file *pFile, void *pDataOut, size_t bytesToRead, size_t *pBytesReadOut) |
| drfs_result | drfs_read_nolock (drfs_file *pFile, void *pDataOut, size_t bytesToRead, size_t *pBytesReadOut) |
| void | drfs_register_archive_backend (drfs_context *pContext, drfs_archive_callbacks callbacks) |
| void | drfs_remove_all_base_directories (drfs_context *pContext) |
| void | drfs_remove_base_directory (drfs_context *pContext, const char *absolutePath) |
| void | drfs_remove_base_directory_by_index (drfs_context *pContext, unsigned int index) |
| drfs_result | drfs_seek (drfs_file *pFile, dr_int64 bytesToSeek, drfs_seek_origin origin) |
| drfs_result | drfs_seek_nolock (drfs_file *pFile, dr_int64 bytesToSeek, drfs_seek_origin origin) |
| void | drfs_set_base_write_directory (drfs_context *pContext, const char *absolutePath) |
| dr_uint64 | drfs_size (drfs_file *pFile) |
| dr_uint64 | drfs_size_nolock (drfs_file *pFile) |
| dr_uint64 | drfs_tell (drfs_file *pFile) |
| dr_uint64 | drfs_tell_nolock (drfs_file *pFile) |
| drfs_result | drfs_uninit (drfs_context *pContext) |
| void | drfs_unlock (drfs_file *pFile) |
| drfs_result | drfs_write (drfs_file *pFile, const void *pData, size_t bytesToWrite, size_t *pBytesWrittenOut) |
| drfs_result | drfs_write_line (drfs_file *pFile, const char *str) |
| drfs_result | drfs_write_nolock (drfs_file *pFile, const void *pData, size_t bytesToWrite, size_t *pBytesWrittenOut) |
| drfs_result | drfs_write_string (drfs_file *pFile, const char *str) |
| #define DR_FALSE 0 |
Definition at line 208 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DR_SIZED_TYPES_DEFINED |
Definition at line 184 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DR_TRUE 1 |
Definition at line 207 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_CREATE_DIRS (1 << 4) |
Definition at line 230 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_EXISTING (1 << 2) |
Definition at line 228 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_FILE_ATTRIBUTE_DIRECTORY 0x00000001 |
Definition at line 232 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_FILE_ATTRIBUTE_READONLY 0x00000002 |
Definition at line 233 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_MAX_PATH 1024 |
Definition at line 222 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_READ (1 << 0) |
Definition at line 226 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_TRUNCATE (1 << 3) |
Definition at line 229 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| #define DRFS_WRITE (1 << 1) |
Definition at line 227 of file rhino/demo/c/dr_libs/old/dr_fs.h.
Definition at line 206 of file rhino/demo/c/dr_libs/old/dr_fs.h.
Definition at line 205 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef int16_t dr_int16 |
Definition at line 198 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef int32_t dr_int32 |
Definition at line 200 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef int64_t dr_int64 |
Definition at line 202 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef int8_t dr_int8 |
Definition at line 196 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef uint16_t dr_uint16 |
Definition at line 199 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef uint32_t dr_uint32 |
Definition at line 201 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef uint64_t dr_uint64 |
Definition at line 203 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef uint8_t dr_uint8 |
Definition at line 197 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef struct drfs_archive drfs_archive |
Definition at line 269 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_handle(* drfs_begin_iteration_proc) (drfs_handle archive, const char *relativePath) |
Definition at line 278 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef void(* drfs_close_archive_proc) (drfs_handle archive) |
Definition at line 276 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef void(* drfs_close_file_proc) (drfs_handle archive, drfs_handle file) |
Definition at line 286 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef struct drfs_context drfs_context |
Definition at line 268 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_copy_file_proc) (drfs_handle archive, const char *relativePathSrc, const char *relativePathDst, dr_bool32 failIfExists) |
Definition at line 284 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_create_directory_proc) (drfs_handle archive, const char *relativePath) |
Definition at line 282 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_delete_file_proc) (drfs_handle archive, const char *relativePath) |
Definition at line 281 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef void(* drfs_end_iteration_proc) (drfs_handle archive, drfs_handle iterator) |
Definition at line 279 of file rhino/demo/c/dr_libs/old/dr_fs.h.
Definition at line 270 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef struct drfs_file_info drfs_file_info |
Definition at line 271 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef dr_uint64(* drfs_file_size_proc) (drfs_handle archive, drfs_handle file) |
Definition at line 291 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef void(* drfs_flush_file_proc) (drfs_handle archive, drfs_handle file) |
Definition at line 292 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_get_file_info_proc) (drfs_handle archive, const char *relativePath, drfs_file_info *fi) |
Definition at line 277 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef void* drfs_handle |
Definition at line 266 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef dr_bool32(* drfs_is_valid_extension_proc) (const char *extension) |
Definition at line 274 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef struct drfs_iterator drfs_iterator |
Definition at line 272 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_move_file_proc) (drfs_handle archive, const char *relativePathOld, const char *relativePathNew) |
Definition at line 283 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef dr_bool32(* drfs_next_iteration_proc) (drfs_handle archive, drfs_handle iterator, drfs_file_info *fi) |
Definition at line 280 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_open_archive_proc) (drfs_file *pArchiveFile, unsigned int accessMode, drfs_handle *pHandleOut) |
Definition at line 275 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_open_file_proc) (drfs_handle archive, const char *relativePath, unsigned int accessMode, drfs_handle *pHandleOut) |
Definition at line 285 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_read_file_proc) (drfs_handle archive, drfs_handle file, void *pDataOut, size_t bytesToRead, size_t *pBytesReadOut) |
Definition at line 287 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_seek_file_proc) (drfs_handle archive, drfs_handle file, dr_int64 bytesToSeek, drfs_seek_origin origin) |
Definition at line 289 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef dr_uint64(* drfs_tell_file_proc) (drfs_handle archive, drfs_handle file) |
Definition at line 290 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| typedef drfs_result(* drfs_write_file_proc) (drfs_handle archive, drfs_handle file, const void *pData, size_t bytesToWrite, size_t *pBytesWrittenOut) |
Definition at line 288 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| enum drfs_result |
Definition at line 236 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| enum drfs_seek_origin |
| Enumerator | |
|---|---|
| drfs_origin_current | |
| drfs_origin_start | |
| drfs_origin_end | |
| drfs_origin_current | |
| drfs_origin_start | |
| drfs_origin_end | |
Definition at line 258 of file rhino/demo/c/dr_libs/old/dr_fs.h.
| void drfs_add_base_directory | ( | drfs_context * | pContext, |
| const char * | absolutePath | ||
| ) |
| dr_bool32 drfs_begin | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| drfs_iterator * | pIteratorOut | ||
| ) |
| void drfs_close | ( | drfs_file * | pFile | ) |
| void drfs_close_archive | ( | drfs_archive * | pArchive | ) |
| drfs_result drfs_copy_file | ( | drfs_context * | pContext, |
| const char * | srcPath, | ||
| const char * | dstPath, | ||
| dr_bool32 | failIfExists | ||
| ) |
| drfs_context* drfs_create_context | ( | ) |
| drfs_result drfs_create_directory | ( | drfs_context * | pContext, |
| const char * | path | ||
| ) |
| drfs_result drfs_create_directory_recursive | ( | drfs_context * | pContext, |
| const char * | path | ||
| ) |
| void drfs_delete_context | ( | drfs_context * | pContext | ) |
| drfs_result drfs_delete_file | ( | drfs_context * | pContext, |
| const char * | path | ||
| ) |
| void drfs_disable_write_directory_guard | ( | drfs_context * | pContext | ) |
| void drfs_enable_write_directory_guard | ( | drfs_context * | pContext | ) |
| void drfs_end | ( | drfs_context * | pContext, |
| drfs_iterator * | pIterator | ||
| ) |
| dr_bool32 drfs_exists | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath | ||
| ) |
| drfs_result drfs_find_absolute_path | ( | drfs_context * | pContext, |
| const char * | relativePath, | ||
| char * | absolutePathOut, | ||
| size_t | absolutePathOutSize | ||
| ) |
| drfs_result drfs_find_absolute_path_explicit_base | ( | drfs_context * | pContext, |
| const char * | relativePath, | ||
| const char * | highestPriorityBasePath, | ||
| char * | absolutePathOut, | ||
| size_t | absolutePathOutSize | ||
| ) |
| void drfs_flush | ( | drfs_file * | pFile | ) |
| void drfs_free | ( | void * | p | ) |
| const char* drfs_get_base_directory_by_index | ( | drfs_context * | pContext, |
| unsigned int | index | ||
| ) |
| unsigned int drfs_get_base_directory_count | ( | drfs_context * | pContext | ) |
| dr_bool32 drfs_get_base_write_directory | ( | drfs_context * | pContext, |
| char * | absolutePathOut, | ||
| unsigned int | absolutePathOutSize | ||
| ) |
| drfs_result drfs_get_file_info | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| drfs_file_info * | fi | ||
| ) |
| drfs_result drfs_init | ( | drfs_context * | pContext | ) |
| void drfs_insert_base_directory | ( | drfs_context * | pContext, |
| const char * | absolutePath, | ||
| unsigned int | index | ||
| ) |
| dr_bool32 drfs_is_archive_path | ( | drfs_context * | pContext, |
| const char * | path | ||
| ) |
| dr_bool32 drfs_is_base_directory | ( | drfs_context * | pContext, |
| const char * | baseDir | ||
| ) |
| dr_bool32 drfs_is_existing_directory | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath | ||
| ) |
| dr_bool32 drfs_is_existing_file | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath | ||
| ) |
| dr_bool32 drfs_is_write_directory_guard_enabled | ( | drfs_context * | pContext | ) |
| drfs_result drfs_move_file | ( | drfs_context * | pContext, |
| const char * | pathOld, | ||
| const char * | pathNew | ||
| ) |
| dr_bool32 drfs_next | ( | drfs_context * | pContext, |
| drfs_iterator * | pIterator | ||
| ) |
| drfs_result drfs_open | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| unsigned int | accessMode, | ||
| drfs_file ** | ppFileOut | ||
| ) |
| void* drfs_open_and_read_binary_file | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| size_t * | pSizeInBytesOut | ||
| ) |
| char* drfs_open_and_read_text_file | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| size_t * | pSizeInBytesOut | ||
| ) |
| drfs_result drfs_open_and_write_binary_file | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| const void * | pData, | ||
| size_t | dataSize | ||
| ) |
| drfs_result drfs_open_and_write_text_file | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| const char * | pTextData | ||
| ) |
| drfs_result drfs_open_archive | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| unsigned int | accessMode, | ||
| drfs_archive ** | ppArchiveOut | ||
| ) |
| drfs_result drfs_open_file_from_archive | ( | drfs_archive * | pArchive, |
| const char * | relativePath, | ||
| unsigned int | accessMode, | ||
| drfs_file ** | ppFileOut | ||
| ) |
| drfs_result drfs_open_owner_archive | ( | drfs_context * | pContext, |
| const char * | absoluteOrRelativePath, | ||
| unsigned int | accessMode, | ||
| char * | relativePathOut, | ||
| size_t | relativePathOutSize, | ||
| drfs_archive ** | ppArchiveOut | ||
| ) |
| drfs_result drfs_read | ( | drfs_file * | pFile, |
| void * | pDataOut, | ||
| size_t | bytesToRead, | ||
| size_t * | pBytesReadOut | ||
| ) |
| drfs_result drfs_read_nolock | ( | drfs_file * | pFile, |
| void * | pDataOut, | ||
| size_t | bytesToRead, | ||
| size_t * | pBytesReadOut | ||
| ) |
| void drfs_register_archive_backend | ( | drfs_context * | pContext, |
| drfs_archive_callbacks | callbacks | ||
| ) |
| void drfs_remove_all_base_directories | ( | drfs_context * | pContext | ) |
| void drfs_remove_base_directory | ( | drfs_context * | pContext, |
| const char * | absolutePath | ||
| ) |
| void drfs_remove_base_directory_by_index | ( | drfs_context * | pContext, |
| unsigned int | index | ||
| ) |
| drfs_result drfs_seek | ( | drfs_file * | pFile, |
| dr_int64 | bytesToSeek, | ||
| drfs_seek_origin | origin | ||
| ) |
| drfs_result drfs_seek_nolock | ( | drfs_file * | pFile, |
| dr_int64 | bytesToSeek, | ||
| drfs_seek_origin | origin | ||
| ) |
| void drfs_set_base_write_directory | ( | drfs_context * | pContext, |
| const char * | absolutePath | ||
| ) |
| drfs_result drfs_uninit | ( | drfs_context * | pContext | ) |
| void drfs_unlock | ( | drfs_file * | pFile | ) |
| drfs_result drfs_write | ( | drfs_file * | pFile, |
| const void * | pData, | ||
| size_t | bytesToWrite, | ||
| size_t * | pBytesWrittenOut | ||
| ) |
| drfs_result drfs_write_line | ( | drfs_file * | pFile, |
| const char * | str | ||
| ) |
| drfs_result drfs_write_nolock | ( | drfs_file * | pFile, |
| const void * | pData, | ||
| size_t | bytesToWrite, | ||
| size_t * | pBytesWrittenOut | ||
| ) |
| drfs_result drfs_write_string | ( | drfs_file * | pFile, |
| const char * | str | ||
| ) |