summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'net.h')
-rw-r--r--net.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net.h b/net.h
index 6c50f5e9..2b7a3a73 100644
--- a/net.h
+++ b/net.h
@@ -76,7 +76,8 @@ rsRetVal addAllowedSenderLine(char* pName, uchar** ppRestOfConfLine);
void PrintAllowedSenders(int iListToPrint);
void clearAllowedSenders ();
void debugListenInfo(int fd, char *type);
-int *create_udp_socket(uchar *LogPort);
+int *create_udp_socket(uchar *hostname, uchar *LogPort, int bIsServer);
+void closeUDPListenSockets(int *finet);
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) */