summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-11-10 17:00:41 +0100
committerPatrick McHardy <kaber@trash.net>2008-11-10 17:00:41 +0100
commit1c9015b2cb483678f153121255e10ec0bbfde3e6 (patch)
treeceb7afdf25de51701556fffc7469bc7c4c270570 /include/iptables.h
parentfd1873110f8e57be578df17fc9d03536b10f4f73 (diff)
libiptc: remove indirections
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 424db595..f7ae0cc5 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -19,13 +19,13 @@ extern int line;
extern int do_command(int argc, char *argv[], char **table,
struct iptc_handle **handle);
extern int delete_chain(const ipt_chainlabel chain, int verbose,
- struct iptc_handle **handle);
+ struct iptc_handle *handle);
extern int flush_entries(const ipt_chainlabel chain, int verbose,
- struct iptc_handle **handle);
-extern int for_each_chain(int (*fn)(const ipt_chainlabel, int, struct iptc_handle **),
- int verbose, int builtinstoo, struct iptc_handle **handle);
+ struct iptc_handle *handle);
+extern int for_each_chain(int (*fn)(const ipt_chainlabel, int, struct iptc_handle *),
+ int verbose, int builtinstoo, struct iptc_handle *handle);
extern void print_rule(const struct ipt_entry *e,
- struct iptc_handle **handle, const char *chain, int counters);
+ struct iptc_handle *handle, const char *chain, int counters);
/* kernel revision handling */
extern int kernel_version;