summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 19:39:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-28 19:39:18 +0000
commit2470212ed18754d540a47198c4be320d63c44fd3 (patch)
treeb793695067c161bace2b22e042ce9432e04d419b /include
parente85c4b09ab8a320607076b54fb75d1f0e3fb636c (diff)
Added remote versioning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1244 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index 74c5fe7b4..e8af1b648 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -79,6 +79,7 @@ class ircd_connector : public Extensible
*/
bool SetHostAddress(char* host, int port);
+ std::string version;
public:
@@ -172,6 +173,9 @@ class ircd_connector : public Extensible
bool BufferIsComplete();
void ClearBuffer();
std::string GetBuffer();
+
+ void SetVersionString(std::string newversion);
+ std::string GetVersionString();
};
@@ -302,8 +306,8 @@ class connection : public Extensible
/** This function is deprecated and may be removed in a later alpha/beta
*/
long GenKey();
+
};
#endif
-