summaryrefslogtreecommitdiffstats
path: root/src/internal.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-09 23:22:36 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-08-09 23:22:36 +0000
commit63bf2a90a6d6fb0859e4c9dd9fcac85de9adc0f1 (patch)
treef18ef0378e787945d5fd722b2c2793b878143221 /src/internal.h
parent9d4628df369b92016b7fc3bfc7fed6d06ff2ca9a (diff)
downloadlibrcc-63bf2a90a6d6fb0859e4c9dd9fcac85de9adc0f1.tar.gz
librcc-63bf2a90a6d6fb0859e4c9dd9fcac85de9adc0f1.tar.bz2
librcc-63bf2a90a6d6fb0859e4c9dd9fcac85de9adc0f1.tar.xz
librcc-63bf2a90a6d6fb0859e4c9dd9fcac85de9adc0f1.zip
- Russian Engine is really renamed
- Translate to English is fixed - Default charset for "all" languages - Support for per-class additional and dissabled charsets - Use 'GetSomethingNumber' instead of 'GetSomethingList'. 'GetSomethingList' functions are depricated. - rccUiGetSomethingName gets id's on the input instead of names
Diffstat (limited to 'src/internal.h')
-rw-r--r--src/internal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h
index 089311f..5e64551 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -30,6 +30,8 @@
#include "rccmutex.h"
#include "rcclocale.h"
+#define RCC_MAX_ADDITION_CHARSETS 8
+#define RCC_MAX_DISABLED_CHARSETS 64
typedef rcc_language_id rcc_language_parrent_list[RCC_MAX_LANGUAGE_PARRENTS];
@@ -42,6 +44,13 @@ struct rcc_language_internal_t {
typedef struct rcc_language_internal_t rcc_language_internal;
typedef rcc_language_internal *rcc_language_internal_ptr;
+struct rcc_class_internal_t {
+ rcc_class cl;
+ rcc_charset *additional;
+ rcc_charset *disabled;
+};
+typedef struct rcc_class_internal_t rcc_class_internal;
+
struct rcc_context_t {
char locale_variable[RCC_MAX_VARIABLE_CHARS+1];
@@ -58,6 +67,7 @@ struct rcc_context_t {
unsigned int max_classes;
unsigned int n_classes;
+ rcc_class_internal *iclass;
rcc_class_ptr *classes;
rcc_iconv *iconv_from;