mufs: rename mufs_read()/mufs_write() to mufs_tree_read()/mufs_tree_write() and expose functions
This commit is contained in:
parent
073c7f34be
commit
845aba61ed
4 changed files with 19 additions and 11 deletions
|
@ -14,3 +14,9 @@ struct mufs_dentry {
|
|||
|
||||
#define MUFS_FILE BIT(0)
|
||||
#define MUFS_DIR BIT(1)
|
||||
|
||||
struct mufs_tree *resolve_path(struct mufs *fs, const char *path);
|
||||
size_t read_dirent(struct mufs *fs, struct mufs_tree *tree,
|
||||
struct mufs_dirent *dirent, uint32_t va);
|
||||
size_t write_dirent(struct mufs_tree *tree,
|
||||
uint32_t va, struct mufs_dirent *dirent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue