summaryrefslogtreecommitdiffstats
path: root/runtime/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-09-03 15:52:24 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-09-03 15:52:24 +0200
commitea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb (patch)
tree65ff2264d92e4e4c429d23d90adac0fed498c2fc /runtime/net.h
parent8cd291a0c9eab23fa020d6560715a32c3370f78b (diff)
parent1e9febaf28ffa1a6107cd0f5f2c0ac0ab2b16830 (diff)
downloadrsyslog-ea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb.tar.gz
rsyslog-ea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb.tar.bz2
rsyslog-ea6570c993eee8cb3f3e22ae1d22e1674a3a1bcb.zip
Merge branch 'v4-stable' into v4-beta
Conflicts: ChangeLog configure.ac doc/manual.html
Diffstat (limited to 'runtime/net.h')
-rw-r--r--runtime/net.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/net.h b/runtime/net.h
index 092c3116..ec364b1c 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);