Qsmtp  0.30dev
match.h
Go to the documentation of this file.
1 
4 #ifndef MATCH_H
5 #define MATCH_H
6 
7 #include <netinet/in.h>
8 #include <sys/types.h>
9 
10 extern int ip4_matchnet(const struct in6_addr *, const struct in_addr *, const unsigned char) __attribute__ ((nonnull (1,2)));
11 extern int ip6_matchnet(const struct in6_addr *, const struct in6_addr *, const unsigned char) __attribute__ ((nonnull (1,2)));
12 extern int matchdomain(const char *, const size_t, const char *) __attribute__ ((nonnull (1,3)));
13 
14 #endif
int ip4_matchnet(const struct in6_addr *, const struct in_addr *, const unsigned char)
Definition: match.c:22
int matchdomain(const char *, const size_t, const char *)
Definition: match.c:81
int ip6_matchnet(const struct in6_addr *, const struct in6_addr *, const unsigned char)
Definition: match.c:51