summaryrefslogtreecommitdiffstats
path: root/src/rccconfig.h
blob: 8e794bada847f796df290ac241b75464d52841df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _RCC_CONFIG_H
#define _RCC_CONFIG_H
#include "librcc.h"
#include "opt.h"

#undef RCC_DEBUG
#define RCC_LOCALE_VARIABLE "LC_CTYPE"

extern const char rcc_default_language_sn[];
extern const char rcc_english_language_sn[];
extern const char rcc_disabled_language_sn[];
extern const char rcc_disabled_engine_sn[];

extern rcc_language_alias rcc_default_aliases[];
extern const char rcc_default_charset[];
extern const char rcc_utf8_charset[];

extern const char rcc_engine_nonconfigured[];
extern const char rcc_option_nonconfigured[];

extern rcc_engine rcc_default_engine;
extern rcc_engine rcc_russian_engine;
extern rcc_engine rcc_ukrainian_engine;

extern rcc_language rcc_default_languages_embeded[];
extern rcc_language rcc_default_languages[];
extern rcc_option_description rcc_option_descriptions_embeded[];
extern rcc_option_description rcc_option_descriptions[];

rcc_option_description *rccGetOptionDescription(rcc_option option);
rcc_option_description *rccGetOptionDescriptionByName(const char *name);

rcc_language_id rccDefaultGetLanguageByName(const char *name);

int rccIsUTF8(const char *name);

#endif /* _RCC_CONFIG_H */