diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-05-10 20:32:42 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-05-10 20:32:42 +0000 |
commit | b9e052499a47a212466da82e120a7cea593c3a65 (patch) | |
tree | 42b190637551ceae31982f2591bec64c7b0b370a /daemon/common.h | |
parent | c1154cfd04137e4e4597ea79cf36a979959de813 (diff) | |
parent | 63d51b566ea270b45b5b34b1feab37b8faa28232 (diff) |
rename trunk fieryfilter to trunk
git-svn-id: file:///home/lennart/svn/public/fieryfilter/trunk@33 79e6afc9-17da-0310-ae3c-b873bff394f4
Diffstat (limited to 'daemon/common.h')
-rw-r--r-- | daemon/common.h | 23 |
1 files changed, 23 insertions, 0 deletions
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 <sys/types.h> +#include <glib.h> +#include <libipq/libipq.h> + +#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 |