summaryrefslogtreecommitdiffstats
path: root/include/iptables.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-12-18 03:10:56 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-12-18 03:10:57 +0100
commit32a4b7dcaf252348732362cd6d853bf0005b2bdd (patch)
treea0cb75f98e4a09b75a8d51095f4a39769d778c74 /include/iptables.h
parentb8c42eca0f224a00bf55b60ded81af14a1e07da1 (diff)
parent79ddbf202a06e6f018e087a328c2ca91e65a8463 (diff)
Merge branch 'stable'
Diffstat (limited to 'include/iptables.h')
-rw-r--r--include/iptables.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/iptables.h b/include/iptables.h
index 89217e29..c42613c9 100644
--- a/include/iptables.h
+++ b/include/iptables.h
@@ -8,15 +8,15 @@
/* Your shared library should call one of these. */
extern int do_command4(int argc, char *argv[], char **table,
- struct iptc_handle **handle);
-extern int delete_chain4(const ipt_chainlabel chain, int verbose,
- struct iptc_handle *handle);
-extern int flush_entries4(const ipt_chainlabel chain, int verbose,
- struct iptc_handle *handle);
-extern int for_each_chain4(int (*fn)(const ipt_chainlabel, int, struct iptc_handle *),
- int verbose, int builtinstoo, struct iptc_handle *handle);
+ struct xtc_handle **handle);
+extern int delete_chain4(const xt_chainlabel chain, int verbose,
+ struct xtc_handle *handle);
+extern int flush_entries4(const xt_chainlabel chain, int verbose,
+ struct xtc_handle *handle);
+extern int for_each_chain4(int (*fn)(const xt_chainlabel, int, struct xtc_handle *),
+ int verbose, int builtinstoo, struct xtc_handle *handle);
extern void print_rule4(const struct ipt_entry *e,
- struct iptc_handle *handle, const char *chain, int counters);
+ struct xtc_handle *handle, const char *chain, int counters);
extern struct xtables_globals iptables_globals;