From 7cf289ca89a7416999ae02330236042b0d37e3db Mon Sep 17 00:00:00 2001 From: wkj Date: Tue, 6 Apr 2004 19:06:52 +0000 Subject: Import version of libhtml that might actually work with ANSI C. --- src/libhtml/runetab.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/libhtml/runetab.c (limited to 'src/libhtml/runetab.c') diff --git a/src/libhtml/runetab.c b/src/libhtml/runetab.c new file mode 100644 index 00000000..abd0a50f --- /dev/null +++ b/src/libhtml/runetab.c @@ -0,0 +1,83 @@ +#include +#include +#include +#include +#include "impl.h" + +Rune **runeconsttab; +char *_runeconsttab[] = { + " ", + " ", + "", + "#", + "+", + ", ", + "-", + "-->", + "1", + "<", + ">", + "?", + "Index search terms:", + "Reset", + "Submit", + "^0-9", + "_ISINDEX_", + "_blank", + "_fr", + "_no_name_submit_", + "_parent", + "_self", + "_top", + "application/x-www-form-urlencoded", + "circle", + "cm", + "content-script-type", + "disc", + "em", + "in", + "javascript", + "jscript", + "jscript1.1", + "mm", + "none", + "pi", + "pt", + "refresh", + "select", + "square", + "textarea", +}; + +Rune** +cvtstringtab(char **tab, int n) +{ + int i; + Rune **rtab; + + rtab = emalloc(n*sizeof(rtab[0])); + for(i=0; i