diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-05 17:43:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-05 17:43:14 +0000 |
commit | 0b88f4946af1f4e8139f42758323aee89474bdc9 (patch) | |
tree | b8deeb22c3d091df01ff4ae655abcb26deec4db1 /xml.c | |
parent | f50249ac0c8b039ba90b0be44970e3700a8d4ad8 (diff) | |
download | mandoc-0b88f4946af1f4e8139f42758323aee89474bdc9.tar.gz mandoc-0b88f4946af1f4e8139f42758323aee89474bdc9.tar.zst mandoc-0b88f4946af1f4e8139f42758323aee89474bdc9.zip |
*** empty log message ***
Diffstat (limited to 'xml.c')
-rw-r--r-- | xml.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,4 +1,4 @@ -/* $Id: xml.c,v 1.14 2008/12/04 23:10:51 kristaps Exp $ */ +/* $Id: xml.c,v 1.15 2008/12/05 17:43:14 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -24,10 +24,10 @@ #include "ml.h" -static ssize_t xml_endtag(struct md_mbuf *, +static ssize_t xml_endtag(struct md_mbuf *, void *, const struct md_args *, enum md_ns, int); -static ssize_t xml_begintag(struct md_mbuf *, +static ssize_t xml_begintag(struct md_mbuf *, void *, const struct md_args *, enum md_ns, int, const int *, const char **); @@ -77,9 +77,9 @@ xml_end(struct md_mbuf *mbuf, const struct md_args *args) /* ARGSUSED */ static ssize_t -xml_begintag(struct md_mbuf *mbuf, const struct md_args *args, - enum md_ns ns, int tok, - const int *argc, const char **argv) +xml_begintag(struct md_mbuf *mbuf, void *data, + const struct md_args *args, enum md_ns ns, + int tok, const int *argc, const char **argv) { size_t res; @@ -117,8 +117,8 @@ xml_begintag(struct md_mbuf *mbuf, const struct md_args *args, /* ARGSUSED */ static ssize_t -xml_endtag(struct md_mbuf *mbuf, const struct md_args *args, - enum md_ns ns, int tok) +xml_endtag(struct md_mbuf *mbuf, void *data, + const struct md_args *args, enum md_ns ns, int tok) { size_t res; @@ -173,7 +173,7 @@ md_init_xml(const struct md_args *args, struct md_mbuf *mbuf, const struct md_rbuf *rbuf) { - return(mlg_alloc(args, rbuf, mbuf, xml_begintag, + return(mlg_alloc(args, NULL, rbuf, mbuf, xml_begintag, xml_endtag, xml_begin, xml_end)); } |