#include "fs/fs.h"
#include <stddef.h>
Go to the source code of this file.
|
typedef fs_inode_t *(* | fs_query_node_t) (fs_t *fs, const fs_inode_t *node, const char *name) |
|
typedef io_t *(* | fs_query_file_t) (fs_t *fs, fs_inode_t *node, os_access_t flags) |
|
typedef inode_result_t(* | fs_file_create_t) (fs_t *fs, fs_inode_t *node, const char *name) |
|
typedef os_error_t(* | fs_file_delete_t) (fs_t *fs, fs_inode_t *node, const char *name) |
|
typedef inode_result_t(* | fs_dir_create_t) (fs_t *fs, fs_inode_t *node, const char *name) |
|
typedef os_error_t(* | fs_dir_delete_t) (fs_t *fs, fs_inode_t *node, const char *name) |
|
typedef os_error_t(* | fs_iter_begin_t) (fs_t *fs, const fs_inode_t *dir, fs_iter_t *iter) |
|
typedef os_error_t(* | fs_iter_next_t) (fs_iter_t *iter) |
|
typedef os_error_t(* | fs_iter_end_t) (fs_iter_t *iter) |
|
typedef void(* | fs_delete_t) (fs_t *fs) |
| fs callback to delete the fs More...
|
|
|
CT_LOCAL fs_inode_t * | inode_file (fs_t *fs, const char *name, const void *data) |
|
CT_LOCAL fs_inode_t * | inode_dir (fs_t *fs, const char *name, const void *data) |
|
CT_LOCAL fs_inode_t * | inode_new (fs_t *fs, os_dirent_t type, const char *name, const void *data) |
|
CT_LOCAL void * | inode_data (fs_inode_t *inode) |
|
CT_LOCAL CT_CONSTFN bool | inode_is (const fs_inode_t *inode, os_dirent_t type) |
|
CT_LOCAL CT_CONSTFN const char * | inode_name (const fs_inode_t *inode) |
|
CT_LOCAL void * | iter_data (fs_iter_t *iter) |
|
CT_LOCAL os_error_t | mkdir_recursive (const char *path, arena_t *arena) |
|
CT_LOCAL fs_t * | fs_new (void *root, const fs_callbacks_t *cb, const void *data, size_t size, arena_t *arena) |
|
CT_LOCAL void * | fs_data (fs_t *fs) |
|
◆ fs_delete_t
typedef void(* fs_delete_t) (fs_t *fs) |
fs callback to delete the fs
- Parameters
-
Definition at line 49 of file common.h.
◆ fs_dir_create_t
◆ fs_dir_delete_t
typedef os_error_t(* fs_dir_delete_t) (fs_t *fs, fs_inode_t *node, const char *name) |
◆ fs_file_create_t
◆ fs_file_delete_t
typedef os_error_t(* fs_file_delete_t) (fs_t *fs, fs_inode_t *node, const char *name) |
◆ fs_iter_begin_t
◆ fs_iter_end_t
typedef os_error_t(* fs_iter_end_t) (fs_iter_t *iter) |
◆ fs_iter_next_t
typedef os_error_t(* fs_iter_next_t) (fs_iter_t *iter) |
◆ fs_query_file_t
◆ fs_query_node_t
◆ fs_data()
◆ fs_new()
◆ inode_data()
◆ inode_dir()
◆ inode_file()
◆ inode_is()
◆ inode_name()
◆ inode_new()
◆ iter_data()
◆ mkdir_recursive()
◆ gInvalidFileNode