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

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

extern BOOLEAN LYHaveCJKCharacterSet;

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

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


extern char ** LYCharSets[];
extern char * SevenBitApproximations[];
extern char ** p_entity_values;
extern int LYlowest_eightbit[];
extern int LYNumCharsets;
extern LYUCcharset LYCharSet_UC[];
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((UCode_t code));
extern UCode_t HTMLGetEntityUCValue PARAMS((CONST char *name));
extern char HTMLGetLatinOneValue PARAMS((int i));
extern void HTMLUseCharacterSet PARAMS((int i));

#endif /* LYCHARSETS_H */