|
RADPx-OS Kernel (Radical Posix OS)
Crimson 0.1.4
POSIX-inspired kernel API with embedded and desktop VM targets
|
Public data structure for rad_vfs_backend_ops. More...
#include <radkernel.h>
Public Attributes | |
| void * | context |
| Public structure field. | |
| rad_status_t(* | open )(void *context, const char *path, uint32_t flags, void **file) |
| Public callback slot. | |
| rad_status_t(* | read )(void *file, void *buffer, size_t size, size_t *bytes_read) |
| Public callback slot. | |
| rad_status_t(* | write )(void *file, const void *buffer, size_t size, size_t *bytes_written) |
| Public callback slot. | |
| rad_status_t(* | seek )(void *file, int64_t offset, rad_seek_origin_t origin) |
| Public callback slot. | |
| uint64_t(* | tell )(void *file) |
| Public callback slot. | |
| void(* | close )(void *file) |
| Public callback slot. | |
| rad_status_t(* | stat )(void *context, const char *path, rad_vfs_stat_t *stat) |
| Public callback slot. | |
| rad_status_t(* | list )(void *context, const char *path, rad_vfs_list_callback_t callback, void *callback_context) |
| Public callback slot. | |
| rad_status_t(* | mkdir )(void *context, const char *path) |
| Public callback slot. | |
| rad_status_t(* | remove )(void *context, const char *path) |
| Public callback slot. | |
| rad_status_t(* | rename )(void *context, const char *old_path, const char *new_path) |
| Public callback slot. | |
| rad_status_t(* | rmdir )(void *context, const char *path) |
| Public callback slot. | |
| rad_status_t(* | fsync )(void *file) |
| Public callback slot. | |
| rad_status_t(* | truncate )(void *context, const char *path, uint64_t size) |
| Public callback slot. | |
| rad_status_t(* | readlink )(void *context, const char *path, char *buffer, size_t size) |
| Public callback slot. | |
| rad_status_t(* | symlink )(void *context, const char *target, const char *link_path) |
| Public callback slot. | |
| rad_status_t(* | link )(void *context, const char *old_path, const char *new_path) |
| Public callback slot. | |
| rad_status_t(* | chmod )(void *context, const char *path, uint32_t mode) |
| Public callback slot. | |
Public data structure for rad_vfs_backend_ops.