summaryrefslogtreecommitdiffstats
path: root/include/xtables.h.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-02-01 22:32:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-01 22:32:56 +0100
commitc6132022905b10ac70223e8116f3903ea0039e75 (patch)
tree35b5545abcf21edb3e6d5e69342047b828634ba3 /include/xtables.h.in
parent43270796c709584b67343c333adaf28faea56265 (diff)
libxtables: prefix names and order it #2
This change affects: load_xtables_ko -> xtables_load_ko modprobe_program -> xtables_modprobe_program Now uses bool for the "quiet" flag. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r--include/xtables.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index e63d171e..2512d79f 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -140,9 +140,14 @@ struct xtables_target
#endif
};
+extern const char *xtables_modprobe_program;
+
extern void *xtables_calloc(size_t, size_t);
extern void *xtables_malloc(size_t);
+extern int xtables_insmod(const char *, const char *, bool);
+extern int xtables_load_ko(const char *, bool);
+
/* Your shared library should call one of these. */
extern void xtables_register_match(struct xtables_match *me);
extern void xtables_register_target(struct xtables_target *me);