summaryrefslogtreecommitdiff
path: root/components/dfs/include
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-06-26 13:59:26 +0800
committerbernard <[email protected]>2014-06-26 13:59:26 +0800
commita118801bfeefb8579255f04f8fcab540a2f0deba (patch)
treeb99aa5804c8fe374c1cf4cbac715070e2011dc84 /components/dfs/include
parentedfcc6041baed6ec1b6fc7c0ab63b0a717cdb1b2 (diff)
[DFS] Add dfs_filesystem_get_mounted_path() function.
Diffstat (limited to 'components/dfs/include')
-rw-r--r--components/dfs/include/dfs_fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_fs.h b/components/dfs/include/dfs_fs.h
index 3fa999c344..498aa5db54 100644
--- a/components/dfs/include/dfs_fs.h
+++ b/components/dfs/include/dfs_fs.h
@@ -94,6 +94,8 @@ struct dfs_mount_tbl
int dfs_register(const struct dfs_filesystem_operation *ops);
struct dfs_filesystem *dfs_filesystem_lookup(const char *path);
+const char* dfs_filesystem_get_mounted_path(struct rt_device* device);
+
rt_err_t dfs_filesystem_get_partition(struct dfs_partition *part,
rt_uint8_t *buf,
rt_uint32_t pindex);