summaryrefslogtreecommitdiff
path: root/include/log.h
blob: 64bf1ce3f5e706b6f7c7b029a4cc04ef05f4144d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _LOG_H_
#define _LOG_H_

#include <stdio.h>

struct buffer;
struct nf_conntrack;

int init_log(void);
void dlog(FILE *fd, int priority, const char *format, ...);
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(void);

#endif