summaryrefslogtreecommitdiffstats
path: root/xshared.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-05-12 12:21:59 +0200
committerJan Engelhardt <jengelh@medozas.de>2011-05-12 12:21:59 +0200
commit449cdd6bcc8d1867bbd26ecbcae9832ab01eb04a (patch)
treeb67a56274742203611051cb0d93e991e9f69fc9c /xshared.h
parentdcd1ad89105faf1f3a9a3febdb970b70c5466518 (diff)
src: combine default_command functions
Diffstat (limited to 'xshared.h')
-rw-r--r--xshared.h3
1 files changed, 3 insertions, 0 deletions
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 *);