]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/hashcomp.h
Refactor port binding, warning not yet tested fully
[user/henk/code/inspircd.git] / include / hashcomp.h
index 79c7627a0c5acb238e183e2361382b332db3f43c..b903f774885540c407b36f54faa2f6e42b4b5f8f 100644 (file)
@@ -237,7 +237,7 @@ namespace irc
                /** Fetch the next token from the stream
                 * @return The next token is returned, or an empty string if none remain
                 */
-               const std::string GetToken();
+               bool GetToken(std::string &token);
        };
 
        /** irc::sepstream allows for splitting token seperated lists.
@@ -535,6 +535,7 @@ bool operator== (const irc::string& leftval, const std::string& rightval);
 
 std::string assign(const irc::string &other);
 irc::string assign(const std::string &other);
+std::string& trim(std::string &str);
 
 namespace nspace
 {