mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
Add FAT rmdir and unlink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@247 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+5
-5
@@ -122,7 +122,7 @@ struct mountpt_operations
|
||||
* information to manage privileges.
|
||||
*/
|
||||
|
||||
int (*open)(FAR struct file *filp, const char *rel_path,
|
||||
int (*open)(FAR struct file *filp, const char *relpath,
|
||||
int oflags, mode_t mode);
|
||||
|
||||
/* The following methods must be identical in signature and position because
|
||||
@@ -150,10 +150,10 @@ struct mountpt_operations
|
||||
int (*bind)(FAR struct inode *blkdriver, const void *data, void **handle);
|
||||
int (*unbind)(void *handle);
|
||||
|
||||
int (*unlink)(struct inode *mountpt, const char *rel_path);
|
||||
int (*mkdir)(struct inode *mountpt, const char *rel_path, mode_t mode);
|
||||
int (*rmdir)(struct inode *mountpt, const char *rel_path);
|
||||
int (*rename)(struct inode *mountpt, const char *old_relpath, const char *new_relpath);
|
||||
int (*unlink)(struct inode *mountpt, const char *relpath);
|
||||
int (*mkdir)(struct inode *mountpt, const char *relpath, mode_t mode);
|
||||
int (*rmdir)(struct inode *mountpt, const char *relpath);
|
||||
int (*rename)(struct inode *mountpt, const char *oldrelpath, const char *newrelpath);
|
||||
|
||||
/* NOTE: More operations will be needed here to support: disk usage stats
|
||||
* file stat(), file attributes, file truncation, etc.
|
||||
|
||||
Reference in New Issue
Block a user