summaryrefslogtreecommitdiff
path: root/server/src/saxparser.h
diff options
context:
space:
mode:
authordeva <deva>2009-11-13 11:00:08 +0000
committerdeva <deva>2009-11-13 11:00:08 +0000
commitd7c7c961e8c35c2d8587ec7f60aac5e309284a97 (patch)
tree3f1b4fb382a7ece23c944eeeca2e8eb61f1d25aa /server/src/saxparser.h
parent90fe99277f0300eb7f0b80545d6a21f94198d45f (diff)
Added SessionIDs to http communication. Made SAXParser run on const char*.
Diffstat (limited to 'server/src/saxparser.h')
-rw-r--r--server/src/saxparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/saxparser.h b/server/src/saxparser.h
index 9f2faa2..265727f 100644
--- a/server/src/saxparser.h
+++ b/server/src/saxparser.h
@@ -95,7 +95,7 @@ public:
* @param error A std::string containing the error message.
* @param lineno An integer containing the line number on which the error occurred.
*/
- virtual void parseError(char *buf, size_t len, std::string error, int lineno);
+ virtual void parseError(const char *buf, size_t len, std::string error, int lineno);
/**
* Buffer parse method.
@@ -107,7 +107,7 @@ public:
* false otherwise.
* @see bool parse(char *buf, size_t size)
*/
- bool parse(char *buf, size_t size);
+ bool parse(const char *buf, size_t size);
/**
* Get the number of bytes used from the last buffer.