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/internal.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/internal.h')
-rw-r--r-- | src/internal.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/internal.h b/src/internal.h index 9ffceb3..83a8028 100644 --- a/src/internal.h +++ b/src/internal.h @@ -1,8 +1,6 @@ #ifndef _RCC_INTERNAL_H #define _RCC_INTERNAL_H -#include <iconv.h> - #ifndef LIBRCC_DATA_DIR # define LIBRCC_DATA_DIR "/usr/lib/rcc" #endif /* LIBRCC_DATA_DIR */ @@ -13,6 +11,7 @@ #include "lngconfig.h" #include "rccstring.h" #include "rccdb4.h" +#include "rcciconv.h" #define STRNLEN(str,n) (n?strnlen(str,n):strlen(str)) @@ -39,13 +38,13 @@ struct rcc_context_t { rcc_engine_context_s engine_ctx; - iconv_t *iconv_from; - iconv_t *iconv_to; - iconv_t iconv_auto[RCC_MAX_CHARSETS]; + rcc_iconv *iconv_from; + rcc_iconv iconv_auto[RCC_MAX_CHARSETS]; + + rcc_iconv fsiconv; char tmpbuffer[RCC_MAX_STRING_CHARS+sizeof(rcc_string_header)+1]; char lastprefix[RCC_MAX_PREFIX_CHARS+1]; - iconv_t fsiconv; unsigned char configure; rcc_language_config current_config; |