From 449cdd6bcc8d1867bbd26ecbcae9832ab01eb04a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 12 May 2011 12:21:59 +0200 Subject: src: combine default_command functions --- xshared.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xshared.h') diff --git a/xshared.h b/xshared.h index 34f3265c..d868c06f 100644 --- a/xshared.h +++ b/xshared.h @@ -23,6 +23,7 @@ enum { OPT_COUNTERS = 1 << 10, }; +struct xtables_globals; struct xtables_rule_match; struct xtables_target; @@ -76,6 +77,8 @@ enum { extern void print_extension_helps(const struct xtables_target *, const struct xtables_rule_match *); extern const char *proto_to_name(uint8_t, int); +extern void command_default(struct iptables_command_state *, + struct xtables_globals *); extern struct xtables_match *load_proto(struct iptables_command_state *); extern int subcmd_main(int, char **, const struct subcommand *); -- cgit v1.2.3