summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 22e9f1470..f6c9368d6 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -93,6 +93,19 @@ namespace irc
const std::string GetToken();
};
+ class commasepstream
+ {
+ private:
+ std::string tokens;
+ std::string::iterator last_starting_position;
+ std::string::iterator n;
+ public:
+ commasepstream(const std::string &source);
+ ~commasepstream();
+
+ const std::string GetToken();
+ };
+
/** The irc_char_traits class is used for RFC-style comparison of strings.
* This class is used to implement irc::string, a case-insensitive, RFC-