From 7c1ccf819bd3a77518f4fe8970355eb78bd5ee59 Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Tue, 28 Jul 2009 14:17:41 +0200 Subject: debug: allow runtime control of debugging output Signed-off-by: Patrick McHardy --- include/nftables.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/nftables.h b/include/nftables.h index d0a3d544..fd958dce 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -11,9 +11,14 @@ enum numeric_level { NUMERIC_ALL, }; +enum debug_level { + DEBUG_NETLINK = 0x1, +}; + #define INCLUDE_PATHS_MAX 16 extern unsigned int numeric_output; +extern unsigned int debug_level; extern const char *include_paths[INCLUDE_PATHS_MAX]; struct parser_state; -- cgit v1.2.3