diff options
author | Michael Biebl <biebl@debian.org> | 2009-10-10 12:29:11 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2009-10-10 12:29:11 +0200 |
commit | b743785de633f7ff5c39f980496d359e4758ec83 (patch) | |
tree | cbb40602f0c84f5fdb911b0bbd3a4b74e49b5211 /runtime/net.h | |
parent | a3320fb454a00c23e50fa18b5507b657212b01d2 (diff) | |
download | rsyslog-b743785de633f7ff5c39f980496d359e4758ec83.tar.gz |
Imported Upstream version 4.4.2upstream/4.4.2
Diffstat (limited to 'runtime/net.h')
-rw-r--r-- | runtime/net.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/net.h b/runtime/net.h index 092c311..ec364b1 100644 --- a/runtime/net.h +++ b/runtime/net.h @@ -146,11 +146,13 @@ BEGINinterface(net) /* name must also be changed in ENDinterface macro! */ rsRetVal (*AddPermittedPeer)(permittedPeers_t **ppRootPeer, uchar *pszID); rsRetVal (*DestructPermittedPeers)(permittedPeers_t **ppRootPeer); rsRetVal (*PermittedPeerWildcardMatch)(permittedPeers_t *pPeer, uchar *pszNameToMatch, int *pbIsMatching); + /* v5 interface additions */ + int (*CmpHost)(struct sockaddr_storage *, struct sockaddr_storage*, size_t); /* data members - these should go away over time... TODO */ int *pACLAddHostnameOnFail; /* add hostname to acl when DNS resolving has failed */ int *pACLDontResolve; /* add hostname to acl instead of resolving it to IP(s) */ ENDinterface(net) -#define netCURR_IF_VERSION 4 /* increment whenever you change the interface structure! */ +#define netCURR_IF_VERSION 5 /* increment whenever you change the interface structure! */ /* prototypes */ PROTOTYPEObj(net); |