/[public]/psiconv/trunk/lib/psiconv/configuration.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/configuration.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 170 Revision 176
25 25
26#ifdef __cplusplus 26#ifdef __cplusplus
27extern "C" { 27extern "C" {
28#endif /* __cplusplus */ 28#endif /* __cplusplus */
29 29
30typedef void *psiconv_error_handler_t (int kind, psiconv_u32 off,
31 const char *message);
32
30typedef struct psiconv_config_s 33typedef struct psiconv_config_s
31{ 34{
32 int verbosity; 35 int verbosity;
33 int colordepth; 36 int colordepth;
37 int redbits; /* Only needed when color is used and no palet */
38 int greenbits; /* Only needed when color is used and no palet */
39 int bluebits; /* Only needed when color is used and no palet */
34 psiconv_bool_t color; 40 psiconv_bool_t color;
41 psiconv_error_handler_t *error_handler;
35} *psiconv_config; 42} *psiconv_config;
36 43
37extern psiconv_config psiconv_config_read(const char *extra_config_file); 44extern psiconv_config psiconv_config_read(const char *extra_config_file);
38 45
39 46

Legend:
Removed from v.170  
changed lines
  Added in v.176

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26