summaryrefslogtreecommitdiff
path: root/include/log.h
diff options
context:
space:
mode:
authorAlexander Wirt <formorer@debian.org>2012-06-03 08:49:55 +0200
committerAlexander Wirt <formorer@debian.org>2012-06-03 08:49:55 +0200
commitceecc8855af313c14e8a164f1cd0399716174398 (patch)
tree0d58f5cf7075dea5ff7ddeff6f9a3c89d9eb6352 /include/log.h
parent10f2c00aa6ef875e7998838c200681c6ea5eeebe (diff)
parentea27bb406e3d8fe9466ba274af38e6f540ff5bfc (diff)
downloadconntrack-tools-ceecc8855af313c14e8a164f1cd0399716174398.tar.gz
conntrack-tools-ceecc8855af313c14e8a164f1cd0399716174398.zip
Merge tag 'upstream/1.2.1'
Upstream version 1.2.1
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h
new file mode 100644
index 0000000..ae58e79
--- /dev/null
+++ b/include/log.h
@@ -0,0 +1,15 @@
+#ifndef _LOG_H_
+#define _LOG_H_
+
+#include <stdio.h>
+
+struct nf_conntrack;
+struct nf_expect;
+
+int init_log(void);
+void dlog(int priority, const char *format, ...);
+void dlog_ct(FILE *fd, struct nf_conntrack *ct, unsigned int type);
+void dlog_exp(FILE *fd, struct nf_expect *exp, unsigned int type);
+void close_log(void);
+
+#endif