summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index b2756b340..b22ba1267 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -292,6 +292,18 @@ namespace irc
}
};
+ class portparser : public classbase
+ {
+ private:
+ commasepstream* sep;
+ long in_range;
+ long range_begin;
+ long range_end;
+ public:
+ portparser(const std::string &source);
+ ~portparser();
+ long 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-