--- psiconv/trunk/lib/psiconv/configuration.h 2003/11/25 22:08:48 170 +++ psiconv/trunk/lib/psiconv/configuration.h 2003/11/27 11:43:51 173 @@ -27,11 +27,15 @@ extern "C" { #endif /* __cplusplus */ +typedef void *psiconv_error_handler_t (int kind, psiconv_u32 off, + const char *message); + typedef struct psiconv_config_s { int verbosity; int colordepth; psiconv_bool_t color; + psiconv_error_handler_t *error_handler; } *psiconv_config; extern psiconv_config psiconv_config_read(const char *extra_config_file);