diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-11-26 14:22:52 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-11-26 14:22:52 +0100 |
commit | 86614327c5d33da00042f0330160d9ea4804b3dc (patch) | |
tree | 6fb202d00fe2577a9ec3baf9dd32574a78dc398a /plugins/imklog/imklog.c | |
parent | dbc8762aebc66085d67bb04bb58bee56ce204596 (diff) | |
parent | 2275a915e02ca4fd1cd1b3c450b0089ae98bc907 (diff) | |
download | rsyslog-86614327c5d33da00042f0330160d9ea4804b3dc.tar.gz rsyslog-86614327c5d33da00042f0330160d9ea4804b3dc.tar.bz2 rsyslog-86614327c5d33da00042f0330160d9ea4804b3dc.zip |
Merge branch 'beta'
Conflicts:
ChangeLog
Diffstat (limited to 'plugins/imklog/imklog.c')
-rw-r--r-- | plugins/imklog/imklog.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c index 84c32d11..20bc34ab 100644 --- a/plugins/imklog/imklog.c +++ b/plugins/imklog/imklog.c @@ -199,6 +199,17 @@ finalize_it: } +/* helper for some klog drivers which need to know the MaxLine global setting. They can + * not obtain it themselfs, because they are no modules and can not query the object hander. + * It would probably be a good idea to extend the interface to support it, but so far + * we create a (sufficiently valid) work-around. -- rgerhards, 2008-11-24 + */ +int klog_getMaxLine(void) +{ + return glbl.GetMaxLine(); +} + + BEGINrunInput CODESTARTrunInput /* this is an endless loop - it is terminated when the thread is |