summaryrefslogtreecommitdiffstats
path: root/include/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h
index 467ae8f..b5bbddb 100644
--- a/include/log.h
+++ b/include/log.h
@@ -1,9 +1,15 @@
#ifndef _LOG_H_
#define _LOG_H_
+#include <stdio.h>
+
+struct buffer;
+struct nf_conntrack;
+
int init_log();
void dlog(FILE *fd, int priority, char *format, ...);
-void dlog_ct(FILE *fd, struct nf_conntrack *ct);
+void dlog_buffered_ct(FILE *fd, struct buffer *b, struct nf_conntrack *ct);
+void dlog_buffered_ct_flush(void *buffer_data, void *data);
void close_log();
#endif