X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fpython%2Fyaffs_error_converter.h;fp=direct%2Ftimothy_tests%2FEACCES_BUG%2Ferror_handler.h;h=8ff76d272a9287bfb1f0b16963419cdb27a9db49;hb=059630308f8d017ffe4b42d0e08d6ad4e7affeb1;hp=c07fdffb18a87a046e94cdfebb9276df750cda8c;hpb=baabf1227755653121fcd9e6139636ff9245e2c4;p=yaffs2.git diff --git a/direct/timothy_tests/EACCES_BUG/error_handler.h b/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 c07fdff..8ff76d2 100644 --- a/direct/timothy_tests/EACCES_BUG/error_handler.h +++ b/direct/python/yaffs_error_converter.h @@ -16,8 +16,9 @@ #ifndef __error_handler_h__ #define __error_handler_h__ #include -#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