diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-20 13:36:08 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-01-20 13:36:08 +0000 |
commit | f3479e41a8a8dfa59d8381b43c5cd2f655b025aa (patch) | |
tree | 488c6f587304c43ca94e6c0da62cf4547fcac564 /include/xtables.h | |
parent | 32529cc23d1bcf7602cd4b3ab0bd957ec6eedd5e (diff) |
[PATCH]: bunch o' renames
Move a few functions from iptables.c/ip6tables.c to xtables.c
so they are available for combined (both AF_INET and AF_INET6)
libxt modules. Rename overlapping function names.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Diffstat (limited to 'include/xtables.h')
-rw-r--r-- | include/xtables.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h index 5e4b2c7..5fa3484 100644 --- a/include/xtables.h +++ b/include/xtables.h @@ -236,6 +236,14 @@ void exit_error(enum exittype, const char *, ...)__attribute__((noreturn, extern void param_act(unsigned int, const char *, ...); extern const char *program_name, *program_version; +extern const char *ipaddr_to_numeric(const struct in_addr *); +extern const char *ipaddr_to_anyname(const struct in_addr *); +extern const char *ipmask_to_numeric(const struct in_addr *); + +extern const char *ip6addr_to_numeric(const struct in6_addr *); +extern const char *ip6addr_to_anyname(const struct in6_addr *); +extern const char *ip6mask_to_numeric(const struct in6_addr *); + #ifdef NO_SHARED_LIBS # ifdef _INIT # undef _init |