diff options
| author | Bernard Xiong <[email protected]> | 2018-06-11 11:13:59 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-06-11 11:13:59 +0800 |
| commit | b110d77d8f867d221a1856dc6a701a08b9b12193 (patch) | |
| tree | 18f362b4281606607421d78ab391bbce8324eb75 /components/dfs/include | |
| parent | 43e3eed3b966b83556f590857a9fe815f05b51a9 (diff) | |
| parent | df64a297abaf382d21aedbf7bf8b8e52e1c774a5 (diff) | |
Merge pull request #1521 from RT-Thread/feature_v310
Feature v310
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 |
