--- psiconv/trunk/lib/psiconv/configuration.h 2003/11/25 22:08:48 170 +++ psiconv/trunk/lib/psiconv/configuration.h 2003/12/02 19:47:47 176 @@ -27,11 +27,18 @@ 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; + int redbits; /* Only needed when color is used and no palet */ + int greenbits; /* Only needed when color is used and no palet */ + int bluebits; /* Only needed when color is used and no palet */ psiconv_bool_t color; + psiconv_error_handler_t *error_handler; } *psiconv_config; extern psiconv_config psiconv_config_read(const char *extra_config_file);