summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-23 18:06:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-23 18:06:26 +0000
commitdeb85740798d3438563628736c0e83edb6966b6e (patch)
treea8ad119fa9d1624a174cded210aba05a1af36173 /include
parent3f3d3d302899aacf8b49fcc871265c965d1fb0fc (diff)
Add some stuff to change how we process a token sepeperated stream
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7800 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/hashcomp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 2ac346294..033003f71 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -324,9 +324,10 @@ namespace irc
virtual ~sepstream();
/** Fetch the next token from the stream
- * @return The next token is returned, or an empty string if none remain
+ * @param token The next token from the stream is placed here
+ * @return True if tokens still remain, false if there are none left
*/
- virtual const std::string GetToken();
+ virtual bool GetToken(std::string &token);
/** Fetch the entire remaining stream, without tokenizing
* @return The remaining part of the stream