yaffs Add function to get number of open handles
[yaffs2.git] / direct / python / yaffsfs.py
index 7a51d3654acb941a360e4b73452b86d74a28355d..5ef7c76120a38e4ae00e549a8d1c1f03b735e01c 100644 (file)
@@ -230,6 +230,11 @@ yaffs_inodecount = ylib.yaffs_inodecount
 yaffs_inodecount.argtypes = [c_char_p]
 yaffs_inodecount.restype = c_int
 
+#int yaffs_n_handles(const YCHAR *path)
+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 = []