comparison direct/yaffsfs.h @ 351:c640f5d8f33e

Add remount and forced unmount to yaffs direct
author charles <charles>
date Tue, 16 Feb 2010 23:24:57 +0000
parents 490a804b7bd3
children b5309c9b6d7f
comparison
equal deleted inserted replaced
350:c927f461f731 351:c640f5d8f33e
263 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ; 263 struct yaffs_dirent *yaffs_readdir(yaffs_DIR *dirp) ;
264 void yaffs_rewinddir(yaffs_DIR *dirp) ; 264 void yaffs_rewinddir(yaffs_DIR *dirp) ;
265 int yaffs_closedir(yaffs_DIR *dirp) ; 265 int yaffs_closedir(yaffs_DIR *dirp) ;
266 266
267 int yaffs_mount(const YCHAR *path) ; 267 int yaffs_mount(const YCHAR *path) ;
268 int yaffs_mount2(const YCHAR *path, int readOnly);
268 int yaffs_unmount(const YCHAR *path) ; 269 int yaffs_unmount(const YCHAR *path) ;
270 int yaffs_unmount2(const YCHAR *path, int force);
271 int yaffs_remount(const YCHAR *path, int force, int readOnly);
272
269 273
270 int yaffs_sync(const YCHAR *path) ; 274 int yaffs_sync(const YCHAR *path) ;
271 275
272 int yaffs_symlink(const YCHAR *oldpath, const YCHAR *newpath); 276 int yaffs_symlink(const YCHAR *oldpath, const YCHAR *newpath);
273 int yaffs_readlink(const YCHAR *path, YCHAR *buf, int bufsiz); 277 int yaffs_readlink(const YCHAR *path, YCHAR *buf, int bufsiz);