summaryrefslogtreecommitdiff
path: root/include
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
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')
-rw-r--r--include/connection.h6
-rw-r--r--include/inspircd.h8
2 files changed, 13 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);
diff --git a/include/inspircd.h b/include/inspircd.h
index d88e25a1f..cf3fd1459 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -117,3 +117,11 @@ void send_network_quit(const char* nick, const char* reason);
void ChangeName(userrec* user, const char* gecos);
void ChangeDisplayedHost(userrec* user, const char* host);
+// mesh network functions
+
+void NetSendToCommon(userrec* u, chanrec* c, char* s);
+void NetSendToAll(char* s);
+void NetSendToOne(char* target,char* s);
+void NetSendToAllExcept(char* target,char* s);
+
+