diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-27 15:10:05 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-01-27 23:14:29 +0100 |
commit | c021c3ce7b1583eb5dd71b10ac3d8ab3cd36beaa (patch) | |
tree | a2fad6766de8283406b42764a2be671f8850cd78 /include/xtables.h.in | |
parent | 630ef48037f3602333addfdb53789c9c6a4bb4c8 (diff) |
libxtables: prefix/order - modprobe and xtables.ko loading
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>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r-- | include/xtables.h.in | 5 |
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); |