diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-25 13:14:05 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-25 13:14:05 +0000 |
commit | 28f17e2c1b3a4b0b2fbfd7e0cb21b66aa7fcdeef (patch) | |
tree | a2ec6bd542ec894eb28475fe85851088c9e63cf9 /net.h | |
parent | 49ae41edbd1631c205db3342683aed29a94284a4 (diff) | |
download | rsyslog-28f17e2c1b3a4b0b2fbfd7e0cb21b66aa7fcdeef.tar.gz rsyslog-28f17e2c1b3a4b0b2fbfd7e0cb21b66aa7fcdeef.tar.xz rsyslog-28f17e2c1b3a4b0b2fbfd7e0cb21b66aa7fcdeef.zip |
moved some more net functionality out of syslogd.c - stage work
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -71,6 +71,13 @@ static inline size_t SALEN(struct sockaddr *sa) { #endif rsRetVal cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN); +/* things to go away after proper modularization */ +rsRetVal addAllowedSenderLine(char* pName, uchar** ppRestOfConfLine); +void PrintAllowedSenders(int iListToPrint); +void clearAllowedSenders (); + +extern int ACLAddHostnameOnFail; /* add hostname to acl when DNS resolving has failed */ +extern int ACLDontResolve; /* add hostname to acl instead of resolving it to IP(s) */ #endif /* #ifdef SYSLOG_INET */ #endif /* #ifndef INCLUDED_NET_H */ |