[dfs] move dfs back

This commit is contained in:
Meco Man
2021-11-16 00:57:56 -05:00
parent 0bcab2892a
commit 973f25901c
24 changed files with 1090 additions and 1134 deletions
+5 -3
View File
@@ -81,16 +81,18 @@ int dfs_init(void);
char *dfs_normalize_path(const char *directory, const char *filename);
const char *dfs_subdir(const char *directory, const char *filename);
int fd_is_open(const char *pathname);
struct dfs_fdtable *dfs_fdtable_get(void);
void dfs_lock(void);
void dfs_unlock(void);
#ifdef DFS_USING_POSIX
/* FD APIs */
int fd_new(void);
struct dfs_fd *fd_get(int fd);
void fd_put(struct dfs_fd *fd);
int fd_is_open(const char *pathname);
struct dfs_fdtable *dfs_fdtable_get(void);
#endif /* DFS_USING_POSIX */
#ifdef __cplusplus
}