summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/html.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-10-10 23:59:19 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-10-10 23:59:19 +0200
commit3b99a601546a722838cfdb65de9848b7a367b169 (patch)
tree7f063e1e43ced213e02ef1c769c3e0c784f431e8 /sys/src/cmd/mothra/html.h
parentf72da96f2898465c88ff683a69e5b7a14a931737 (diff)
mothra: handle <input type=image>
Diffstat (limited to 'sys/src/cmd/mothra/html.h')
-rw-r--r--sys/src/cmd/mothra/html.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/html.h b/sys/src/cmd/mothra/html.h
index 0988a7e80..f486755be 100644
--- a/sys/src/cmd/mothra/html.h
+++ b/sys/src/cmd/mothra/html.h
@@ -112,6 +112,15 @@ enum{
};
/*
+ * length direction
+ */
+enum{
+ HORIZ,
+ VERT,
+};
+int strtolength(Hglob *g, int dir, char *str);
+
+/*
* Token names for the html parser.
* Tag_end corresponds to </end> tags.
* Tag_text tags text not in a tag.