X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fpython%2Fyaffsfs.py;h=03583fdea6a1fdacf086c548aad9832f6fd3b166;hb=7396445d7d0d13469b9505791114b9dc6b76ffe4;hp=77048200b65b48eb2279ac9d32905a48a2633413;hpb=00302ec53728a32022e3cb15123ed7192525ae68;p=yaffs2.git diff --git a/direct/python/yaffsfs.py b/direct/python/yaffsfs.py index 7704820..03583fd 100644 --- a/direct/python/yaffsfs.py +++ b/direct/python/yaffsfs.py @@ -240,10 +240,25 @@ yaffs_n_handles = ylib.yaffs_n_handles yaffs_n_handles.argtypes = [c_char_p] yaffs_n_handles.restype = c_int -#int yaffs_StartUp(void) -yaffs_StartUp = ylib.yaffs_StartUp -yaffs_StartUp.argtypes = [] -yaffs_StartUp.restype = c_int +#int yaffs_start_up(void) +yaffs_start_up = ylib.yaffs_start_up +yaffs_start_up.argtypes = [] +yaffs_start_up.restype = c_int + +#int yaffs_set_trace(unsigned int tm) { return yaffs_traceMask=tm; } +yaffs_set_trace=ylib.yaffs_set_trace +yaffs_set_trace.argtypes=[c_uint] +yaffs_set_trace.restype=c_uint + +#int yaffs_get_trace(void) { return yaffs_traceMask; } +yaffs_get_trace=ylib.yaffs_get_trace +yaffs_get_trace.argtypes=[] +yaffs_get_trace.restypes=c_uint + +#int yaffs_get_error(void) +yaffs_get_error=ylib.yaffs_get_error +yaffs_get_error.argtypes=[] +yaffs_get_error.restypes=c_int yaffs_O_CREAT=ylib.yaffs_O_CREAT() yaffs_O_RDONLY=ylib.yaffs_O_RDONLY()