diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-14 18:29:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-14 18:29:44 +0000 |
commit | 36127608a981c809c9b8e52980a6c23874eb633e (patch) | |
tree | 65f21267165128c6b4f7acf3e443c0f163bd9f35 /include/connection.h | |
parent | ce82525b3e7daf417448390479de7fd7da7d27ec (diff) |
Added 'uniqueness sums': http://www.inspircd.org/wiki/InspIRCd_Server_Protocol#Uniqueness_Sums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1378 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/connection.h')
-rw-r--r-- | include/connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h index c6adedf26..b84d39df9 100644 --- a/include/connection.h +++ b/include/connection.h @@ -39,6 +39,8 @@ #define STATE_NOAUTH_OUTBOUND 4 #define STATE_SERVICES 5 +std::string CreateSum(); + /** Each connection has one or more of these * each represents ONE outbound connection to another ircd * so each inbound has multiple outbounds. A listening socket @@ -302,7 +304,7 @@ class connection : public Extensible * If no data is available this function returns false. * This function will automatically close broken links and reroute pathways, generating split messages on the network. */ - bool RecvPacket(std::deque<std::string> &messages, char* host); + bool RecvPacket(std::deque<std::string> &messages, char* host, std::deque<std::string> &sums); /** Find the ircd_connector oject related to a certain servername given in 'host' */ |