about summary refs log tree commit diff stats
path: root/src/LYCharSets.h
blob: bd873fb7c05d63d6d435ee365337e854b4e4719f (plain) (blame)
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
#ifndef LYCHARSETS_H
#define LYCHARSETS_H

#ifndef UCMAP_H
#include "UCMap.h"
#endif /* !UCMAP_H */

/*
 *  LYchar_set_name[current_char_set] points to the currently active set.
 */
extern int current_char_set;
extern CONST char * LYchar_set_names[];


extern char ** LYCharSets[];
extern char * SevenBitApproximations[];    /* made public. -kw */
extern char ** p_entity_values;
#if defined(USE_SLANG) || defined(EXP_CHARTRANS)
extern int LYlowest_eightbit[];
#endif /* USE_SLANG || EXP_CHARTRANS */

#ifdef EXP_CHARTRANS
extern int LYNumCharsets;
extern LYUCcharset LYCharSet_UC[];
#endif   /* EXP_CHARTRANS */

/* Initializer for LYCharSets.c */
extern int LYCharSetsDeclared NOPARAMS;

extern void HTMLSetCharacterHandling PARAMS((int i));
extern void HTMLSetRawModeDefault PARAMS((int i));
extern void HTMLSetUseDefaultRawMode PARAMS((int i, BOOLEAN modeflag));
extern void HTMLSetHaveCJKCharacterSet PARAMS((int i));
extern CONST char * LYEntityNames[];
extern CONST char * HTMLGetEntityName PARAMS((int i));
extern UCode_t HTMLGetEntityUCValue PARAMS((CONST char *name));
extern char HTMLGetLatinOneValue PARAMS((int i));
extern void HTMLUseCharacterSet PARAMS((int i));

#endif /* LYCHARSETS_H */