summaryrefslogtreecommitdiffstats
path: root/runtime/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-24 06:19:13 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-24 06:19:13 +0100
commit0d71694fb3cbff71d504769e0e70a58ebe5f9a0d (patch)
treed36030df25a095ac84a196a466f12456b3f855cb /runtime/net.h
parent6b4d9afccb4297face53fd6bec0fb30b6a8da1c3 (diff)
downloadrsyslog-0d71694fb3cbff71d504769e0e70a58ebe5f9a0d.tar.gz
rsyslog-0d71694fb3cbff71d504769e0e70a58ebe5f9a0d.tar.bz2
rsyslog-0d71694fb3cbff71d504769e0e70a58ebe5f9a0d.zip
optimize: have dns cache pre-create rsyslog prop_t's
Diffstat (limited to 'runtime/net.h')
-rw-r--r--runtime/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/net.h b/runtime/net.h
index a38328a9..ec8ad5d8 100644
--- a/runtime/net.h
+++ b/runtime/net.h
@@ -131,7 +131,7 @@ struct permittedPeers_s {
/* interfaces */
BEGINinterface(net) /* name must also be changed in ENDinterface macro! */
- rsRetVal (*cvthname)(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN, uchar **pszIP, rs_size_t *lenIP);
+ rsRetVal (*cvthname)(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN, prop_t **ip);
/* things to go away after proper modularization */
rsRetVal (*addAllowedSenderLine)(char* pName, uchar** ppRestOfConfLine);
void (*PrintAllowedSenders)(int iListToPrint);