|
libopenraw
0.3.7
|
IO methods for the IO subsystem. More...
#include <io.h>
Public Attributes | |
| IOFileRef(* | open )(const char *path, int mode) |
| open method More... | |
| int(* | close )(IOFileRef f) |
| close method | |
| int(* | seek )(IOFileRef f, off_t offset, int whence) |
| seek in the file | |
| int(* | read )(IOFileRef f, void *buf, size_t count) |
| read method | |
| off_t(* | filesize )(IOFileRef f) |
| filesize method | |
| void *(* | mmap )(IOFileRef f, size_t l, off_t offset) |
| mmap method | |
| int(* | munmap )(IOFileRef f, void *addr, size_t l) |
| munmap method | |
IO methods for the IO subsystem.
This allow implementing custom IO callback.
| IOFileRef(* io_methods::open) (const char *path, int mode) |