29 #define RCC_MAX_CHARSETS 16
30 #define RCC_MAX_ENGINES 5
31 #define RCC_MAX_LANGUAGES 64
32 #define RCC_MAX_ALIASES 64
33 #define RCC_MAX_CLASSES 16
121 #define RCC_FLAG_NO_DEFAULT_CONFIGURATION 1
134 rcc_context rccCreateContext(
const char *locale_variable,
unsigned int max_languages,
unsigned int max_classes, rcc_class_ptr defclasses, rcc_init_flags
flags);
147 int rccInitDefaultContext(
const char *locale_variable,
unsigned int max_languages,
unsigned int max_classes, rcc_class_ptr defclasses, rcc_init_flags
flags);
332 #define RCC_CLASS_FLAG_CONST 0x01
334 #define RCC_CLASS_FLAG_SKIP_SAVELOAD 0x02
441 #define RCC_OPTION_LEARNING_FLAG_USE 1
445 #define RCC_OPTION_LEARNING_FLAG_LEARN 2
1096 int rccStringNCmp(
const char *str1,
const char *str2,
size_t n);
1119 rcc_iconv
rccIConvOpen(
const char *from,
const char *to);
1134 char *
rccIConv(rcc_iconv icnv,
const char *buf,
size_t len,
size_t *rlen);
1185 char *
rccTranslate(rcc_translate translate,
const char *buf);
1453 #define rccFrom(ctx, class_id, buf) rccSizedFrom(ctx, class_id, buf, 0)
1454 #define rccTo(ctx, class_id, buf) rccSizedTo(ctx, class_id, buf, NULL)
1455 #define rccRecode(ctx, from, to, buf) rccSizedRecode(ctx, from, to, buf, 0, NULL)
1457 #define rccFromCharset(ctx, charset, buf) rccSizedFromCharset(ctx, charset, buf, 0)
1458 #define rccToCharset(ctx, charset, buf) rccSizedToCharset(ctx, charset, buf, NULL)
1459 #define rccRecodeToCharset(ctx, class_id, charset, buf) rccSizedRecodeToCharset(ctx, class_id, charset, buf, 0, NULL)
1460 #define rccRecodeFromCharset(ctx, class_id, charset, buf) rccSizedRecodeFromCharset(ctx, class_id, charset, buf, 0, NULL)
1461 #define rccRecodeCharsets(ctx, from, to, buf) rccSizedRecodeCharsets(ctx, from, to, buf, 0, NULL)
1463 #define rccConfigFrom(ctx, class_id, buf) rccConfigSizedFrom(ctx, class_id, buf, 0)
1464 #define rccConfigTo(ctx, class_id, buf) rccConfigSizedTo(ctx, class_id, buf, NULL)
1465 #define rccConfigRecode(ctx, from, to, buf) rccConfigSizedRecode(ctx, from, to, buf, 0, NULL)
1466 #define rccConfigRecodeToCharset(ctx, class_id, charset, buf) rccConfigSizedRecodeToCharset(ctx, class_id, charset, buf, 0, NULL)
1467 #define rccConfigRecodeFromCharset(ctx, class_id, charset, buf) rccConfigSizedRecodeFromCharset(ctx, class_id, charset, buf, 0, NULL)
1498 typedef rcc_engine *(*rcc_plugin_engine_info_function)(
const char *lang);
1514 #define RCC_CC_FLAG_HAVE_BERKLEY_DB 0x01
1518 #define RCC_CC_FLAG_HAVE_DYNAMIC_ENGINES 0x02
1522 #define RCC_CC_FLAG_HAVE_ENCA 0x04
1526 #define RCC_CC_FLAG_HAVE_RCD 0x08
1530 #define RCC_CC_FLAG_HAVE_LIBTRANSLATE 0x10
1554 #define RCC_OPTION_TRANSLATE_SKIP_PARRENT RCC_OPTION_TRANSLATE_SKIP_PARENT
1555 #define RCC_SPELLER_ALMOST_PARRENT RCC_SPELLER_ALMOST_PARENT
1556 #define RCC_SPELLER_PARRENT RCC_SPELLER_PARENT
1557 #define rccSpellerAddParrent rccSpellerAddParent