summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-25 13:14:05 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-25 13:14:05 +0000
commit28f17e2c1b3a4b0b2fbfd7e0cb21b66aa7fcdeef (patch)
treea2ec6bd542ec894eb28475fe85851088c9e63cf9 /net.h
parent49ae41edbd1631c205db3342683aed29a94284a4 (diff)
downloadrsyslog-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.h7
1 files changed, 7 insertions, 0 deletions
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 */