diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-05-12 12:21:59 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-05-12 12:21:59 +0200 |
commit | 449cdd6bcc8d1867bbd26ecbcae9832ab01eb04a (patch) | |
tree | b67a56274742203611051cb0d93e991e9f69fc9c /xshared.h | |
parent | dcd1ad89105faf1f3a9a3febdb970b70c5466518 (diff) |
src: combine default_command functions
Diffstat (limited to 'xshared.h')
-rw-r--r-- | xshared.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 *); |