aboutsummaryrefslogtreecommitdiff
path: root/src/libhtml/runetab.h
blob: 42f4928d5d947eb306fb40fe485db277a2149fc5 (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
53
54
55
56
57
58
59
typedef struct AsciiInt AsciiInt;

struct AsciiInt {
	char*	key;
	int	val;
};

enum {
	Ltab2space,
	Lspace,
	Lempty,
	Lhash,
	Lplus,
	Lcommaspace,
	Lminus,
	Larrow,
	Lone,
	Llt,
	Lgt,
	Lquestion,
	Lindex,
	Lreset,
	Lsubmit,
	Lnot0to9,
	Lisindex,
	L_blank,
	Lfr,
	Lnoname,
	L_parent,
	L_self,
	L_top,
	Lappl_form,
	Lcircle,
	Lcm,
	Lcontent,
	Ldisc,
	Lem,
	Lin,
	Ljavascript,
	Ljscript,
	Ljscript1,
	Lmm,
	Lnone,
	Lpi,
	Lpt,
	Lrefresh,
	Lselect,
	Lsquare,
	Ltextarea,
};

#define L(x)	runeconsttab[(x)]

extern	Rune	**runeconsttab;

/* XXX: for unix port only */
Rune		**_cvtstringtab(char**, int);
StringInt	*_cvtstringinttab(AsciiInt*, int);
void		_runetabinit(void);