diff options
Diffstat (limited to 'src/libhtml/runetab.h')
-rw-r--r-- | src/libhtml/runetab.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/libhtml/runetab.h b/src/libhtml/runetab.h new file mode 100644 index 00000000..edde98c8 --- /dev/null +++ b/src/libhtml/runetab.h @@ -0,0 +1,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); |