diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-13 13:29:39 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-13 13:29:39 +0200 |
commit | 879492ae4e15c02beebaaa163a9fd9959807e752 (patch) | |
tree | c7fe0c943dbbbf55bb85fe0cf3b0e4da48024dd1 /src/server.h | |
parent | Add ring[.ch] (diff) | |
download | coopgammad-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 '')
-rw-r--r-- | src/server.h | 10 |
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; |