diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-01-24 09:59:26 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-01-24 09:59:26 +0100 |
commit | 440aaff114607e82aefee56336846611a2e35c9c (patch) | |
tree | 25de2deb70d2f1b904bf3cd562c52e55d23c74d0 /runtime/dnscache.h | |
parent | 3668e0085b6c6b89df302c4c390b5bc53b6a6769 (diff) | |
download | rsyslog-440aaff114607e82aefee56336846611a2e35c9c.tar.gz rsyslog-440aaff114607e82aefee56336846611a2e35c9c.tar.bz2 rsyslog-440aaff114607e82aefee56336846611a2e35c9c.zip |
optimize: move lowercasing of hostnames to cache
so we save this on each name lookup!
Diffstat (limited to 'runtime/dnscache.h')
-rw-r--r-- | runtime/dnscache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dnscache.h b/runtime/dnscache.h index ed60d9c5..7113c942 100644 --- a/runtime/dnscache.h +++ b/runtime/dnscache.h @@ -24,6 +24,6 @@ rsRetVal dnscacheInit(void); rsRetVal dnscacheDeinit(void); -rsRetVal dnscacheLookup(struct sockaddr_storage *addr, uchar **pszHostFQDN, rs_size_t *lenHost, prop_t **ip); +rsRetVal dnscacheLookup(struct sockaddr_storage *addr, prop_t **fqdn, prop_t **fqdnLowerCase, prop_t **ip); #endif /* #ifndef INCLUDED_DNSCACHE_H */ |