diff options
| author | Bernard Xiong <[email protected]> | 2018-06-10 17:57:34 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-06-10 17:57:34 +0800 |
| commit | bca65f30a90857287dc1371ddbc8d5f165691c7f (patch) | |
| tree | 73f7c113f17883996ddb2009bbb8726b9f6c5f0a /components/dfs/include | |
| parent | 682da9b249c8019c078b277742a6b36deb2af7b2 (diff) | |
[lwP] Add light weight process component.
Diffstat (limited to 'components/dfs/include')
| -rw-r--r-- | components/dfs/include/dfs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/dfs/include/dfs.h b/components/dfs/include/dfs.h index 91ef42ab56..f17458bd69 100644 --- a/components/dfs/include/dfs.h +++ b/components/dfs/include/dfs.h @@ -95,6 +95,12 @@ struct dirent char d_name[DFS_PATH_MAX]; /* The null-terminated file name */ }; +struct dfs_fdtable +{ + uint32_t maxfd; + struct dfs_fd **fds; +}; + /* Initialization of dfs */ int dfs_init(void); @@ -110,6 +116,8 @@ 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); + #ifdef __cplusplus } #endif |
