X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fyaffsfs.h;h=3f192169352f5c10a734105c5499ef33019abf3c;hb=ab9a00dce3929c4c8cc1f01db34b23ba64a850ce;hp=ba3f87fb256001a3b240c80f8c33ced4e9b1bfd0;hpb=8c97c553cb1f3adbb0b7d5393b32885fae2eb90d;p=yaffs2.git diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index ba3f87f..3f19216 100644 --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -163,6 +163,10 @@ struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ; void yaffs_rewinddir(yaffs_DIR *dirp) ; int yaffs_closedir(yaffs_DIR *dirp) ; +/* Some non-standard functions to use fds to access directories */ +struct yaffs_dirent *yaffs_readdir_fd(int fd); +void yaffs_rewinddir_fd(int fd); + int yaffs_mount(const YCHAR *path) ; int yaffs_mount2(const YCHAR *path, int read_only); int yaffs_mount_common(const YCHAR *path, int read_only, int skip_checkpt); @@ -171,6 +175,10 @@ int yaffs_unmount(const YCHAR *path) ; int yaffs_unmount2(const YCHAR *path, int force); int yaffs_remount(const YCHAR *path, int force, int read_only); +int yaffs_format(const YCHAR *path, + int unmount_flag, + int force_unmount_flag, + int remount_flag); int yaffs_sync(const YCHAR *path) ;