Add remount and forced unmount to yaffs direct
[yaffs2.git] / direct / yaffsfs.h
index 8a7cb811b186eb9a97647d46f81325ce6fbc5ae5..b53c9aece76dc251c5c9d6e95abe52f187dd27d9 100644 (file)
@@ -265,7 +265,11 @@ void yaffs_rewinddir(yaffs_DIR *dirp) ;
 int yaffs_closedir(yaffs_DIR *dirp) ;
 
 int yaffs_mount(const YCHAR *path) ;
 int yaffs_closedir(yaffs_DIR *dirp) ;
 
 int yaffs_mount(const YCHAR *path) ;
+int yaffs_mount2(const YCHAR *path, int readOnly);
 int yaffs_unmount(const YCHAR *path) ;
 int yaffs_unmount(const YCHAR *path) ;
+int yaffs_unmount2(const YCHAR *path, int force);
+int yaffs_remount(const YCHAR *path, int force, int readOnly);
+
 
 int yaffs_sync(const YCHAR *path) ;
 
 
 int yaffs_sync(const YCHAR *path) ;