summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-11 14:55:23 +0800
committerGrissiom <[email protected]>2013-10-11 14:55:23 +0800
commit5fdca8371ba88c56b397ea73150d83750e9b4a01 (patch)
tree0e5ad2dec783280aadc37000722d14d6bc4023f2
parent786a5541a3cdcc419c349943ee717f680cb87ec8 (diff)
DFS: add dfs_file_flush prototype in dfs_file.h
-rw-r--r--components/dfs/include/dfs_file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_file.h b/components/dfs/include/dfs_file.h
index 87a178d026..a574bdc334 100644
--- a/components/dfs/include/dfs_file.h
+++ b/components/dfs/include/dfs_file.h
@@ -36,6 +36,7 @@ int dfs_file_read(struct dfs_fd *fd, void *buf, rt_size_t len);
int dfs_file_getdents(struct dfs_fd *fd, struct dirent *dirp, rt_size_t nbytes);
int dfs_file_unlink(const char *path);
int dfs_file_write(struct dfs_fd *fd, const void *buf, rt_size_t len);
+int dfs_file_flush(struct dfs_fd *fd);
int dfs_file_lseek(struct dfs_fd *fd, rt_off_t offset);
int dfs_file_stat(const char *path, struct stat *buf);
int dfs_file_rename(const char *oldpath, const char *newpath);