From 63d51b566ea270b45b5b34b1feab37b8faa28232 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 9 May 2004 23:20:43 +0000 Subject: main fieryfilter work git-svn-id: file:///home/lennart/svn/public/fieryfilter/fieryfilter@31 79e6afc9-17da-0310-ae3c-b873bff394f4 --- daemon/common.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 daemon/common.h (limited to 'daemon/common.h') diff --git a/daemon/common.h b/daemon/common.h new file mode 100644 index 0000000..4a8e6b1 --- /dev/null +++ b/daemon/common.h @@ -0,0 +1,23 @@ +#ifndef foocommonhfoo +#define foocommonhfoo + +#include +#include +#include + +#define SOCKET_PATH "/tmp/fieryfilter" + +typedef enum message_code { + MSG_PACKET = 0, + MSG_VERDICT = 1, + MSG_SET_DEFAULT_VERDICT = 2 +} message_code_t; + +typedef struct message { + message_code_t code; + pid_t pid; + guint32 length; +} message_t; + + +#endif -- cgit