yaffs removed direct/timothy_tests from git and added a convert error_code_str()...
[yaffs2.git] / direct / python / yaffs_error_converter.h
similarity index 71%
rename from direct/timothy_tests/EACCES_BUG/error_handler.h
rename to direct/python/yaffs_error_converter.h
index c07fdffb18a87a046e94cdfebb9276df750cda8c..8ff76d272a9287bfb1f0b16963419cdb27a9db49 100644 (file)
@@ -16,8 +16,9 @@
 #ifndef __error_handler_h__
 #define __error_handler_h__
 #include <stdio.h>
-#include "message_buffer.h"
+
 #include "yaffsfs.h"
-#define DEBUG_LEVEL 5 /*set the debug level. this is used to display the relevent debug messages*/
-void yaffs_check_for_errors(char output, buffer *message_buffer, char error_message[], char success_message[]);
+#include "yportenv.h"
+
+const char * yaffs_error_to_str(int err);
 #endif