summaryrefslogtreecommitdiff
path: root/components/dfs/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/dfs/include')
-rw-r--r--components/dfs/include/dfs_fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_fs.h b/components/dfs/include/dfs_fs.h
index 2108d07c82..90a5b50d69 100644
--- a/components/dfs/include/dfs_fs.h
+++ b/components/dfs/include/dfs_fs.h
@@ -17,6 +17,9 @@
#include <dfs_def.h>
+#define DFS_FS_FLAG_DEFAULT 0x00 /* default flag */
+#define DFS_FS_FLAG_FULLPATH 0x01 /* set full path to underlaying file system */
+
/* Pre-declaration */
struct dfs_filesystem;
struct dfs_fd;
@@ -25,6 +28,7 @@ struct dfs_fd;
struct dfs_filesystem_operation
{
char *name;
+ rt_uint32_t flags; /* flags for file system operations */
/* mount and unmount file system */
int (*mount) (struct dfs_filesystem *fs, unsigned long rwflag, const void *data);