summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-07-28 14:17:41 +0200
committerPatrick McHardy <kaber@trash.net>2009-07-28 14:17:41 +0200
commit7c1ccf819bd3a77518f4fe8970355eb78bd5ee59 (patch)
treec7b16dcd8d22b49ad0e3ae6c3940cd3a25da340e /include
parentebfd6822498965cdb9961ec1a986f0463de5c9c0 (diff)
debug: allow runtime control of debugging output
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r--include/nftables.h5
1 files changed, 5 insertions, 0 deletions
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;