… | |
… | |
32 | |
32 | |
33 | typedef struct psiconv_config_s |
33 | typedef struct psiconv_config_s |
34 | { |
34 | { |
35 | int verbosity; |
35 | int verbosity; |
36 | 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 */ |
37 | psiconv_bool_t color; |
40 | psiconv_bool_t color; |
38 | psiconv_error_handler_t *error_handler; |
41 | psiconv_error_handler_t *error_handler; |
39 | } *psiconv_config; |
42 | } *psiconv_config; |
40 | |
43 | |
41 | extern psiconv_config psiconv_config_read(const char *extra_config_file); |
44 | extern psiconv_config psiconv_config_default(void); |
42 | |
45 | |
|
|
46 | extern void psiconv_config_read(const char *extra_config_files, |
|
|
47 | psiconv_config *config); |
43 | |
48 | |
44 | #ifdef __cplusplus |
49 | #ifdef __cplusplus |
45 | } |
50 | } |
46 | #endif /* __cplusplus */ |
51 | #endif /* __cplusplus */ |
47 | |
52 | |