From 28f17e2c1b3a4b0b2fbfd7e0cb21b66aa7fcdeef Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 25 Dec 2007 13:14:05 +0000 Subject: moved some more net functionality out of syslogd.c - stage work --- net.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'net.h') diff --git a/net.h b/net.h index a7b1a8b7..e909e590 100644 --- a/net.h +++ b/net.h @@ -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 */ -- cgit v1.2.3