diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-14 08:45:46 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-14 08:45:46 +0000 |
commit | f15620c372b8813a87d07eee169cf2096c99c173 (patch) | |
tree | f1c59f41d4a9c9f5f45595695327b0e4a74b1408 /src/lngconfig.h | |
parent | 7233ff9095194b38586ce438379f08691a0fecdd (diff) | |
download | librcc-f15620c372b8813a87d07eee169cf2096c99c173.tar.gz librcc-f15620c372b8813a87d07eee169cf2096c99c173.tar.bz2 librcc-f15620c372b8813a87d07eee169cf2096c99c173.tar.xz librcc-f15620c372b8813a87d07eee169cf2096c99c173.zip |
IConv and DB4
Diffstat (limited to 'src/lngconfig.h')
-rw-r--r-- | src/lngconfig.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/lngconfig.h b/src/lngconfig.h index d583ab6..edfd1d1 100644 --- a/src/lngconfig.h +++ b/src/lngconfig.h @@ -1,6 +1,7 @@ #ifndef _RCC_LNGCONFIG_H #define _RCC_LNGCONFIG_H +#include "rcciconv.h" struct rcc_language_config_t { rcc_context ctx; @@ -8,9 +9,14 @@ struct rcc_language_config_t { rcc_engine_id engine; rcc_charset_id *charset; + rcc_charset_id *default_charset; + + rcc_iconv *iconv_to; + unsigned char configure; - rcc_charset_id default_charset; unsigned char configured; + + rcc_iconv fsiconv; }; typedef struct rcc_language_config_t rcc_language_config_s; @@ -21,6 +27,10 @@ rcc_engine_ptr rccConfigGetCurrentEnginePointer(rcc_language_config config); rcc_engine_ptr rccConfigCheckCurrentEnginePointer(rcc_language_config config); int rccConfigInit(rcc_language_config config, rcc_context ctx); -int rccConfigFree(rcc_language_config config); +void rccConfigClear(rcc_language_config config); + +int rccConfigConfigure(rcc_language_config config); + +rcc_charset_id rccConfigGetLocaleUnicodeCharset(rcc_language_config config, const char *locale_variable); #endif /* _RCC_LNGCONFIG_H */ |