--- psiconv/trunk/lib/psiconv/configuration.h 2004/01/04 15:47:16 181 +++ psiconv/trunk/lib/psiconv/configuration.h 2004/02/20 21:52:34 212 @@ -1,6 +1,6 @@ /* configuration.h - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 1999, 2000,2003 Frodo Looijaard + Copyright (c) 1999-2004 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,8 +27,8 @@ extern "C" { #endif /* __cplusplus */ -typedef void *psiconv_error_handler_t (int kind, psiconv_u32 off, - const char *message); +typedef void psiconv_error_handler_t (int kind, psiconv_u32 off, + const char *message); typedef struct psiconv_config_s { @@ -42,6 +42,7 @@ psiconv_u8 unknown_epoc_char; psiconv_ucs2 unknown_unicode_char; psiconv_ucs2 unicode_table[0x100]; + psiconv_bool_t unicode; } *psiconv_config; extern psiconv_config psiconv_config_default(void); @@ -49,6 +50,8 @@ extern void psiconv_config_read(const char *extra_config_files, psiconv_config *config); +extern void psiconv_config_free(psiconv_config config); + #ifdef __cplusplus } #endif /* __cplusplus */