summaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-15 00:25:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-15 00:25:07 +0000
commita62c272ea279d4970ed49e49427bf60560a7c49a (patch)
treea4f33811ee350c3d2d5f5628dad6872530e75b73 /include/connection.h
parent1b0cf0abfdd04ce5260ce4eaf5ec83ef4fd094a9 (diff)
Tons of linking tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@592 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index 2dd11633b..ac76654f9 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -44,6 +44,10 @@ class ircd_connector : public classbase
*/
std::string servername;
+ /** Server 'GECOS'
+ */
+ std::string description;
+
/** Server names of servers that this server is linked to
* So for A->B->C, if this was the record for B it would contain A and C
* whilever both servers are connected to B.
@@ -110,7 +114,7 @@ class connection : public classbase
bool CreateListener(char* host, int p);
bool BeginLink(char* targethost, int port, char* password, char* servername);
void TerminateLink(char* targethost);
- bool SendPacket(char *message, char* host);
+ bool SendPacket(char *message, const char* host);
bool RecvPacket(std::deque<std::string> &messages, char* host);
ircd_connector* FindHost(std::string host);
bool AddIncoming(int fd,char* targethost);