runetab.h (667B)
1 typedef struct AsciiInt AsciiInt; 2 3 struct AsciiInt { 4 char* key; 5 int val; 6 }; 7 8 enum { 9 Ltab2space, 10 Lspace, 11 Lempty, 12 Lhash, 13 Lplus, 14 Lcommaspace, 15 Lminus, 16 Larrow, 17 Lone, 18 Llt, 19 Lgt, 20 Lquestion, 21 Lindex, 22 Lreset, 23 Lsubmit, 24 Lnot0to9, 25 Lisindex, 26 L_blank, 27 Lfr, 28 Lnoname, 29 L_parent, 30 L_self, 31 L_top, 32 Lappl_form, 33 Lcircle, 34 Lcm, 35 Lcontent, 36 Ldisc, 37 Lem, 38 Lin, 39 Ljavascript, 40 Ljscript, 41 Ljscript1, 42 Lmm, 43 Lnone, 44 Lpi, 45 Lpt, 46 Lrefresh, 47 Lselect, 48 Lsquare, 49 Ltextarea 50 }; 51 52 #define L(x) runeconsttab[(x)] 53 54 extern Rune **runeconsttab; 55 56 /* XXX: for unix port only */ 57 Rune **_cvtstringtab(char**, int); 58 StringInt *_cvtstringinttab(AsciiInt*, int); 59 void _runetabinit(void);