summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-26 16:59:53 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-26 16:59:53 +0000
commit94a4673a148b3ef678849f240a16ee3b006d4ae9 (patch)
tree50a4e3831f02a2c8be44669b79cb939f21015ce2 /net.h
parent002c04988d4430013496c4cab75e1f024421a45c (diff)
downloadrsyslog-94a4673a148b3ef678849f240a16ee3b006d4ae9.tar.gz
rsyslog-94a4673a148b3ef678849f240a16ee3b006d4ae9.tar.xz
rsyslog-94a4673a148b3ef678849f240a16ee3b006d4ae9.zip
removed omfwd code dependency on finet
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) */