X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fpython%2Fyaffsfs.py;h=7a51d3654acb941a360e4b73452b86d74a28355d;hp=590da21b81da18d96501a9fbc138dde5205d8580;hb=83bae7928558997b6e7e81cee00da75f9c9791fa;hpb=7e03669f1fdf249268ca1021522e5d0f45eec19c diff --git a/direct/python/yaffsfs.py b/direct/python/yaffsfs.py index 590da21..7a51d36 100644 --- a/direct/python/yaffsfs.py +++ b/direct/python/yaffsfs.py @@ -170,11 +170,26 @@ yaffs_mount = ylib.yaffs_mount yaffs_mount.argtypes = [c_char_p] yaffs_mount.restype = c_int +#int yaffs_mount2(const YCHAR *path,int readOnly) ; +yaffs_mount2 = ylib.yaffs_mount2 +yaffs_mount2.argtypes = [c_char_p, c_int] +yaffs_mount2.restype = c_int + #int yaffs_unmount(const YCHAR *path) ; yaffs_unmount = ylib.yaffs_unmount yaffs_unmount.argtypes = [c_char_p] yaffs_unmount.restype = c_int +#int yaffs_unmount(const YCHAR *path, int force) ; +yaffs_unmount2 = ylib.yaffs_unmount2 +yaffs_unmount2.argtypes = [c_char_p, c_int] +yaffs_unmount2.restype = c_int + +#int yaffs_remount(const YCHAR *path, int force, int readOnly) ; +yaffs_remount = ylib.yaffs_remount +yaffs_remount.argtypes = [c_char_p, c_int, c_int] +yaffs_remount.restype = c_int + #int yaffs_sync(const YCHAR *path) ; yaffs_sync = ylib.yaffs_sync yaffs_sync.argtypes = [c_char_p]