VFSConstructor objects contain the base vtables used for extrapolating a VFS stream.
More...
#include <vfs.h>
|
void *(* | vfs_fopen_impl )(const char *filename, const char *mode) |
| A function pointer which points to a fopen implementation. More...
|
|
int(* | vfs_fclose_impl )(VFSFile *file) |
| A function pointer which points to a fclose implementation. More...
|
|
int64_t(* | vfs_fread_impl )(void *ptr, int64_t size, int64_t nmemb, VFSFile *file) |
| A function pointer which points to a fread implementation. More...
|
|
int64_t(* | vfs_fwrite_impl )(const void *ptr, int64_t size, int64_t nmemb, VFSFile *file) |
| A function pointer which points to a fwrite implementation. More...
|
|
int(* | vfs_getc_impl )(VFSFile *stream) |
| A function pointer which points to a getc implementation. More...
|
|
int(* | vfs_ungetc_impl )(int c, VFSFile *stream) |
| A function pointer which points to an ungetc implementation. More...
|
|
int(* | vfs_fseek_impl )(VFSFile *file, int64_t offset, int whence) |
| A function pointer which points to a fseek implementation. More...
|
|
void(* | vfs_rewind_impl )(VFSFile *file) |
| function pointer which points to a rewind implementation. More...
|
|
int64_t(* | vfs_ftell_impl )(VFSFile *file) |
| A function pointer which points to a ftell implementation. More...
|
|
bool_t(* | vfs_feof_impl )(VFSFile *file) |
| A function pointer which points to a feof implementation. More...
|
|
int(* | vfs_ftruncate_impl )(VFSFile *file, int64_t length) |
| A function pointer which points to a ftruncate implementation. More...
|
|
int64_t(* | vfs_fsize_impl )(VFSFile *file) |
| A function pointer which points to a fsize implementation. More...
|
|
char *(* | vfs_get_metadata_impl )(VFSFile *file, const char *field) |
| A function pointer which points to a (stream) metadata fetching implementation. More...
|
|
VFSConstructor objects contain the base vtables used for extrapolating a VFS stream.
VFSConstructor objects should be considered virtual in nature. VFS base vtables are registered via vfs_register_transport().
Definition at line 52 of file vfs.h.
int(* _VFSConstructor::vfs_fclose_impl)(VFSFile *file) |
A function pointer which points to a fclose implementation.
Definition at line 56 of file vfs.h.
A function pointer which points to a feof implementation.
Definition at line 77 of file vfs.h.
void*(* _VFSConstructor::vfs_fopen_impl)(const char *filename, const char *mode) |
A function pointer which points to a fopen implementation.
Definition at line 54 of file vfs.h.
int64_t(* _VFSConstructor::vfs_fread_impl)(void *ptr, int64_t size, int64_t nmemb, VFSFile *file) |
A function pointer which points to a fread implementation.
Definition at line 59 of file vfs.h.
int(* _VFSConstructor::vfs_fseek_impl)(VFSFile *file, int64_t offset, int whence) |
A function pointer which points to a fseek implementation.
Definition at line 71 of file vfs.h.
int64_t(* _VFSConstructor::vfs_fsize_impl)(VFSFile *file) |
A function pointer which points to a fsize implementation.
Definition at line 81 of file vfs.h.
int64_t(* _VFSConstructor::vfs_ftell_impl)(VFSFile *file) |
A function pointer which points to a ftell implementation.
Definition at line 75 of file vfs.h.
int(* _VFSConstructor::vfs_ftruncate_impl)(VFSFile *file, int64_t length) |
A function pointer which points to a ftruncate implementation.
Definition at line 79 of file vfs.h.
int64_t(* _VFSConstructor::vfs_fwrite_impl)(const void *ptr, int64_t size, int64_t nmemb, VFSFile *file) |
A function pointer which points to a fwrite implementation.
Definition at line 62 of file vfs.h.
char*(* _VFSConstructor::vfs_get_metadata_impl)(VFSFile *file, const char *field) |
A function pointer which points to a (stream) metadata fetching implementation.
Definition at line 84 of file vfs.h.
int(* _VFSConstructor::vfs_getc_impl)(VFSFile *stream) |
A function pointer which points to a getc implementation.
Definition at line 66 of file vfs.h.
void(* _VFSConstructor::vfs_rewind_impl)(VFSFile *file) |
function pointer which points to a rewind implementation.
Definition at line 73 of file vfs.h.
A function pointer which points to an ungetc implementation.
Definition at line 68 of file vfs.h.
The documentation for this struct was generated from the following file: