summaryrefslogtreecommitdiffstats
path: root/src/lngconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lngconfig.h')
-rw-r--r--src/lngconfig.h14
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 */