diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-21 16:15:20 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-21 16:15:20 +0000 |
commit | fe6b6de3035b6bcea07f302ec0ef2895ac6f2285 (patch) | |
tree | a436b76a6f02453bb88c5ba6c3c5c1e2ffc56a6e /syslogd.h | |
parent | 17a2d137b6134e02301eda68e6c1bfe94901e2d5 (diff) | |
download | rsyslog-fe6b6de3035b6bcea07f302ec0ef2895ac6f2285.tar.gz rsyslog-fe6b6de3035b6bcea07f302ec0ef2895ac6f2285.tar.xz rsyslog-fe6b6de3035b6bcea07f302ec0ef2895ac6f2285.zip |
- 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"...
Diffstat (limited to 'syslogd.h')
-rw-r--r-- | syslogd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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[]; |