summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nftables.h1
-rw-r--r--include/parser.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/nftables.h b/include/nftables.h
index 5a000870..7f3968d4 100644
--- a/include/nftables.h
+++ b/include/nftables.h
@@ -24,6 +24,7 @@ enum debug_level {
#define INCLUDE_PATHS_MAX 16
+extern unsigned int max_errors;
extern unsigned int numeric_output;
extern unsigned int handle_output;
extern unsigned int debug_level;
diff --git a/include/parser.h b/include/parser.h
index f5dd6f4b..7a1c2dbe 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -19,6 +19,7 @@ struct parser_state {
unsigned int indesc_idx;
struct list_head *msgs;
+ unsigned int nerrs;
struct scope top_scope;
struct scope *scopes[SCOPE_NEST_MAX];