--- psiconv/trunk/lib/psiconv/parse.h 2000/12/10 02:17:45 55 +++ psiconv/trunk/lib/psiconv/parse.h 2000/12/13 00:42:04 61 @@ -22,7 +22,7 @@ #ifndef PSICONV_PARSE_H #define PSICONV_PARSE_H -#include "data.h" +#include #ifdef __cplusplus extern "C" { @@ -37,10 +37,16 @@ extern int psiconv_verbosity; +typedef void (*psiconv_error_handler_t) (int kind, psiconv_u32 off, + const char *message); + +extern psiconv_error_handler_t psiconv_error_handler; + + #define PSICONV_VERB_DEBUG 4 #define PSICONV_VERB_PROGRESS 3 #define PSICONV_VERB_WARN 2 -#define PSICONV_VERB_SILENT 1 +#define PSICONV_VERB_FATAL 1 #ifdef __cplusplus }