yaffs Add error retrieval function for yaffs direct testing
[yaffs2.git] / direct / yaffsfs.h
index 36b7e5a8555596dab811cbec1722d7ca672b592e..6dd2c943f731a60d19a2162a4eac01e3f749e95b 100644 (file)
@@ -171,11 +171,14 @@ void yaffs_AddDevice(struct yaffs_DeviceStruct *dev);
 
 int yaffs_StartUp(void);
 
+/* Function to get the last error */
+int yaffs_get_error(void);
 
 /* Function only for debugging */
 void * yaffs_getdev(const YCHAR *path);
 int yaffs_DumpDevStruct(const YCHAR *path);
 
+
 #endif