From 1c9015b2cb483678f153121255e10ec0bbfde3e6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 10 Nov 2008 17:00:41 +0100 Subject: libiptc: remove indirections Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- include/iptables.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/iptables.h') 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; -- cgit v1.2.3