aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-13 13:29:39 +0200
committerMattias Andrée <maandree@kth.se>2016-07-13 13:29:39 +0200
commit879492ae4e15c02beebaaa163a9fd9959807e752 (patch)
treec7fe0c943dbbbf55bb85fe0cf3b0e4da48024dd1 /src/server.h
parentAdd ring[.ch] (diff)
downloadcoopgammad-879492ae4e15c02beebaaa163a9fd9959807e752.tar.gz
coopgammad-879492ae4e15c02beebaaa163a9fd9959807e752.tar.bz2
coopgammad-879492ae4e15c02beebaaa163a9fd9959807e752.tar.xz
Handle outbound messages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h
index 31b7914..e70df7a 100644
--- a/src/server.h
+++ b/src/server.h
@@ -16,6 +16,7 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "message.h"
+#include "ring.h"
#include <stddef.h>
@@ -45,9 +46,14 @@ extern size_t connections_ptr;
extern size_t connections_used;
/**
- * The clients' connections' message buffers
+ * The clients' connections' inbound-message buffers
*/
-extern struct message* client_messages;
+extern struct message* inbound;
+
+/**
+ * The clients' connections' outbound-message buffers
+ */
+extern struct ring* outbound;