summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
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 */