summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 80c02332d..453e28c45 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -148,6 +148,12 @@ namespace irc
* @return True if the end of the stream has been reached, otherwise false
*/
bool StreamEnd();
+
+ /** Returns true if the specified value exists in the stream
+ * @param value The value to search for
+ * @return True if the value was found, False otherwise
+ */
+ bool Contains(const std::string& value);
};
/** A derived form of sepstream, which seperates on commas