summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);
+
+