summaryrefslogtreecommitdiffstats
path: root/runtime/modules.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-01 14:34:56 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-01 14:34:56 +0200
commit6322343eca1084b509386a94c1bcf2ca819f1220 (patch)
treecd873a34a4df087c3411de951c40a26f64f7d0ec /runtime/modules.h
parente6aeb1b995d6629ff04fd0f6068be2e9ffe9ca42 (diff)
parent7bfa03bdc0b73647ffdbe4b73e5c1649af665fbf (diff)
downloadrsyslog-6322343eca1084b509386a94c1bcf2ca819f1220.tar.gz
rsyslog-6322343eca1084b509386a94c1bcf2ca819f1220.tar.xz
rsyslog-6322343eca1084b509386a94c1bcf2ca819f1220.zip
Merge branch 'master' into v5-devel
Diffstat (limited to 'runtime/modules.h')
-rw-r--r--runtime/modules.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/modules.h b/runtime/modules.h
index e33bbbe1..71e3199c 100644
--- a/runtime/modules.h
+++ b/runtime/modules.h
@@ -106,6 +106,7 @@ typedef struct modInfo_s {
rsRetVal (*runInput)(thrdInfo_t*); /* function to gather input and submit to queue */
rsRetVal (*willRun)(void); /* function to gather input and submit to queue */
rsRetVal (*afterRun)(thrdInfo_t*); /* function to gather input and submit to queue */
+ int bCanRun; /* cached value of whether willRun() succeeded */
} im;
struct {/* data for output modules */
/* below: perform the configured action