From d295f0a4cbc5f96b0aa65a3d005f98bc31511068 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 23 Aug 2010 18:36:29 +0200 Subject: Implemented a communication event source for the main loop. This source will deal with communication between servers. More to be added and cleaned up soon. --- communication_source.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 communication_source.h (limited to 'communication_source.h') diff --git a/communication_source.h b/communication_source.h new file mode 100644 index 0000000..0856cf4 --- /dev/null +++ b/communication_source.h @@ -0,0 +1,16 @@ +#ifndef COMMUNICATION_SOURCE_H +#define COMMUNICATION_SOURCE_H + +#include "servers.h" + +#include + +struct communication_job { + struct server *server; +}; + +void communication_job_add(struct server *server); + +void communication_source_init(GMainLoop *mainloop); + +#endif -- cgit v1.2.3