summaryrefslogtreecommitdiff
path: root/server/src/saxparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/saxparser.h')
-rw-r--r--server/src/saxparser.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/src/saxparser.h b/server/src/saxparser.h
index 67a86b7..da33440 100644
--- a/server/src/saxparser.h
+++ b/server/src/saxparser.h
@@ -44,10 +44,21 @@ public:
virtual void parseError(char *buf, size_t len, std::string error, int lineno);
+ bool parse(char *buf, size_t size);
+
+ unsigned int usedBytes();
+
+ // private stuff that needs to be public!
+ std::string outertag;
+ bool done;
+
protected:
virtual int readData(char *data, size_t size) { return 0; }
XML_Parser p;
+
+ unsigned int bufferbytes;
+ unsigned int totalbytes;
};
#endif/*__PRACRO_SAXPARSER_H__*/