diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-08-23 18:36:29 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-08-23 18:36:29 +0200 |
commit | d295f0a4cbc5f96b0aa65a3d005f98bc31511068 (patch) | |
tree | 8057c0b98d5186bc17e8887002d3f65808cc5d59 /communication_source.h | |
parent | 0baaa8c068f57e44efffa7c1f6806faefdd655e4 (diff) |
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.
Diffstat (limited to 'communication_source.h')
-rw-r--r-- | communication_source.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 <glib.h> + +struct communication_job { + struct server *server; +}; + +void communication_job_add(struct server *server); + +void communication_source_init(GMainLoop *mainloop); + +#endif |