From fe6b6de3035b6bcea07f302ec0ef2895ac6f2285 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 21 Dec 2007 16:15:20 +0000 Subject: - created an initial version of imudp.c. The majority of UDP reception code is now in that module and it is dynamically loadable. HOWEVER, that doesn't mean it is a proper module. There are still many, many dependencies on global variables, cross-module calls and such. However, havin the code base separated allows me to carry out some other cleanup before I return to create a really clean implementation of these modules. So it is kind of a stage work. Just don't mistake it with "the real thing"... --- syslogd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'syslogd.h') diff --git a/syslogd.h b/syslogd.h index aa4331e9..cf2cd0a5 100644 --- a/syslogd.h +++ b/syslogd.h @@ -72,6 +72,7 @@ void logmsgInternal(int pri, char *msg, int flags); void logmsg(int pri, msg_t *pMsg, int flags); void debugListenInfo(int fd, char *type); extern int bFinished; /* used by termination signal handler, read-only except there */ +extern int AcceptRemote; /* receive messages that come via UDP - read-only after startup */ extern int glblHadMemShortage; /* indicates if we had memory shortage some time during the run */ extern char LocalHostName[]; @@ -86,6 +87,7 @@ extern int DisableDNS; extern char **StripDomains; extern char *LocalDomain; extern int bDropMalPTRMsgs; +extern struct AllowedSenders *pAllowedSenders_UDP; extern struct AllowedSenders *pAllowedSenders_TCP; extern struct AllowedSenders *pAllowedSenders_GSS; extern char ctty[]; -- cgit