diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-16 20:07:46 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-08-16 20:07:46 +0200 |
commit | c4573f3289e429b939da0b5ac6d4a950ce72466a (patch) | |
tree | 12864f8d5076a89ad1f9218a0a5677822728467d /xml.h | |
parent | 3946a701c0d409dd235f2bcb564b5701beb7d775 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *); |