summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 19:07:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 19:07:20 +0000
commit5232506d5eade7ab98ff39ee98577b04b257bbb2 (patch)
tree90b5d8e2ec185719f737983e956db47ceab8efa3 /include
parent8be0c0008766de9003c7e8dd2ae74bf7c9dcd525 (diff)
Buffering fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@580 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/connection.h3
-rw-r--r--include/modules.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index d92cc6354..2dd11633b 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -14,6 +14,7 @@
#include <errno.h>
#include <time.h>
#include <vector>
+#include <deque>
#ifndef __CONNECTION_H__
#define __CONNECTION_H__
@@ -110,7 +111,7 @@ class connection : public classbase
bool BeginLink(char* targethost, int port, char* password, char* servername);
void TerminateLink(char* targethost);
bool SendPacket(char *message, char* host);
- bool RecvPacket(string_list &messages, char* host);
+ bool RecvPacket(std::deque<std::string> &messages, char* host);
ircd_connector* FindHost(std::string host);
bool AddIncoming(int fd,char* targethost);
long GenKey();
diff --git a/include/modules.h b/include/modules.h
index 1db17b291..20fb5f04d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -30,6 +30,7 @@
typedef std::deque<std::string> file_cache;
typedef file_cache string_list;
+
// This #define allows us to call a method in all
// loaded modules in a readable simple way, e.g.:
// 'FOREACH_MOD OnConnect(user);'