X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fpython%2Fyaffsfs.py;fp=direct%2Fpython%2Fyaffsfs.py;h=986f35892a741769f5aaf648a4e1ee09afcadde1;hp=77048200b65b48eb2279ac9d32905a48a2633413;hb=b8cbfed7294153e2e709dd6d7608bbada3da50f0;hpb=72762a62dab91fa7971e8d6ed2f00c5245ae464b diff --git a/direct/python/yaffsfs.py b/direct/python/yaffsfs.py index 7704820..986f358 100644 --- a/direct/python/yaffsfs.py +++ b/direct/python/yaffsfs.py @@ -245,6 +245,16 @@ yaffs_StartUp = ylib.yaffs_StartUp yaffs_StartUp.argtypes = [] yaffs_StartUp.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 + yaffs_O_CREAT=ylib.yaffs_O_CREAT() yaffs_O_RDONLY=ylib.yaffs_O_RDONLY() yaffs_O_WRONLY=ylib.yaffs_O_WRONLY()