mufs: expose struct mufs_dir internally
This commit is contained in:
parent
704cd24061
commit
14a93ab881
2 changed files with 6 additions and 6 deletions
|
@ -13,12 +13,6 @@
|
||||||
#include "path.h"
|
#include "path.h"
|
||||||
#include "tree.h"
|
#include "tree.h"
|
||||||
|
|
||||||
struct mufs_dir {
|
|
||||||
struct mufs *fs;
|
|
||||||
struct mufs_tree *tree;
|
|
||||||
uint32_t va;
|
|
||||||
};
|
|
||||||
|
|
||||||
char *mufs_abspath(const char *path)
|
char *mufs_abspath(const char *path)
|
||||||
{
|
{
|
||||||
char *s, *p, *next, *prev;
|
char *s, *p, *next, *prev;
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
struct mufs_dir {
|
||||||
|
struct mufs *fs;
|
||||||
|
struct mufs_tree *tree;
|
||||||
|
uint32_t va;
|
||||||
|
};
|
||||||
|
|
||||||
struct mufs_dtree {
|
struct mufs_dtree {
|
||||||
uint32_t file_size;
|
uint32_t file_size;
|
||||||
uint32_t root;
|
uint32_t root;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue