summaryrefslogtreecommitdiffstats
path: root/src/rccconfig.h
blob: 8b5ac0d5279e5aa0e4a30728c8b1cee252c2025b (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef _RCC_CONFIG_H
#define _RCC_CONFIG_H
#include "librcc.h"
#include "opt.h"

#undef RCC_DEBUG
#undef RCC_DEBUG_LANGDETECT
#define RCC_LOCALE_VARIABLE "LC_CTYPE"

extern const char rcc_default_all[];
extern const char rcc_default_language_sn[];
extern const char rcc_english_language_sn[];
extern const char rcc_russian_language_sn[];
extern const char rcc_ukrainian_language_sn[];

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

extern rcc_language_alias rcc_default_aliases[];
extern rcc_language_alias rcc_default_aliases_embeded[];
extern rcc_language_relation rcc_default_relations[];
extern rcc_language_relation rcc_default_relations_embeded[];
extern const char rcc_default_charset[];
extern const char rcc_utf8_charset[];

extern const char rcc_default_unicode_charsets[];
extern const char rcc_default_nonunicode_charsets[];
extern rcc_charset rcc_default_disabled_id3_charsets[];
extern rcc_charset rcc_default_additional_id3v2_charsets[];

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);
unsigned int rccDefaultDropLanguageRelations(const char *lang);

int rccIsUTF8(const char *name);
int rccIsUnicode(const char *name);

#endif /* _RCC_CONFIG_H */