summaryrefslogtreecommitdiffstats
path: root/xshared.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-06-12 20:48:52 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-06-26 21:13:10 +0200
commitf89c1716a7743ca6e2e6164d3b64c15b2e285e1e (patch)
treecaaa6a6d656085690a71b791108c6a78365fe8dd /xshared.h
parent92edcb0cf517ddb7976e396eabc7a79f8a1016ba (diff)
iptables: allow for help-less extensions
This is for extensions that do not take any options, and which subsequently do not offer any help text either. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xshared.h')
-rw-r--r--xshared.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xshared.h b/xshared.h
new file mode 100644
index 00000000..c53b618f
--- /dev/null
+++ b/xshared.h
@@ -0,0 +1,10 @@
+#ifndef IPTABLES_XSHARED_H
+#define IPTABLES_XSHARED_H 1
+
+struct xtables_rule_match;
+struct xtables_target;
+
+extern void print_extension_helps(const struct xtables_target *,
+ const struct xtables_rule_match *);
+
+#endif /* IPTABLES_XSHARED_H */