summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2014-03-31 22:46:58 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2014-03-31 22:46:58 +0200
commitd8b0c45812890670943becd45383f75d57056e52 (patch)
tree055375c12586e9f38f19ce5281f0a2c54de92226 /xml.h
parent1fa71087c9d754b687d52059ee88ca82b45ec1eb (diff)
new version
lots of things changed, but cleanup todo. changelog and consistent stream of small updates will come in the future. Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat (limited to 'xml.h')
-rw-r--r--xml.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xml.h b/xml.h
index fae8992..6213750 100644
--- a/xml.h
+++ b/xml.h
@@ -22,9 +22,11 @@ typedef struct xmlparser {
void (*xmlcomment)(struct xmlparser *p, const char *comment, size_t commentlen);
void (*xmlcommentend)(struct xmlparser *p);
- FILE *fp; /* stream to read from */
+ FILE *fp; /* file stream to read from */
+
/* private; internal state */
char tag[1024]; /* current tag */
+ int isshorttag; /* current tag is in short form ? */
size_t taglen;
char name[256]; /* current attribute name */
char data[BUFSIZ]; /* data buffer used for tag and attribute data */