X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffsfs.h;h=fc6152ceaf37e2c4751992720ff2a64c3a452868;hp=8a7cb811b186eb9a97647d46f81325ce6fbc5ae5;hb=b0173df3b2c8cc1f68d877a5a64e0f0ca93c0bd6;hpb=ea3c314412ed2ecee3f47b576d5759267173e9c0 diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index 8a7cb81..fc6152c 100644 --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -265,7 +265,11 @@ void yaffs_rewinddir(yaffs_DIR *dirp) ; 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_unmount2(const YCHAR *path, int force); +int yaffs_remount(const YCHAR *path, int force, int readOnly); + int yaffs_sync(const YCHAR *path) ;