summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-16 20:07:46 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-16 20:07:46 +0200
commitc4573f3289e429b939da0b5ac6d4a950ce72466a (patch)
tree12864f8d5076a89ad1f9218a0a5677822728467d /xml.h
parent3946a701c0d409dd235f2bcb564b5701beb7d775 (diff)
xml: change xml_parse_string to xml_parse_buf
In the parser itself allow reading '\0' in the XML itself. Add a length parameter to specify the buffer size.
Diffstat (limited to 'xml.h')
-rw-r--r--xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.h b/xml.h
index df63e23..aa9c59d 100644
--- a/xml.h
+++ b/xml.h
@@ -43,5 +43,5 @@ ssize_t xml_namedentitytostr(const char *, char *, size_t);
ssize_t xml_numericetitytostr(const char *, char *, size_t);
void xml_parse(XMLParser *);
+void xml_parse_buf(XMLParser *, const char *, size_t);
void xml_parse_fd(XMLParser *, int);
-void xml_parse_string(XMLParser *, const char *);