diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-02 11:39:38 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-02 11:39:38 +0100 |
commit | 05d693123b175855174023874ce6f497f3642e61 (patch) | |
tree | 308f2752797777c0cdf689a13452b8fe53de1b24 /runtime/objomsr.h | |
parent | caad1340d64a345fa9d1bfc3f902e898d6ee2f76 (diff) | |
download | rsyslog-05d693123b175855174023874ce6f497f3642e61.tar.gz rsyslog-05d693123b175855174023874ce6f497f3642e61.tar.xz rsyslog-05d693123b175855174023874ce6f497f3642e61.zip |
added omruleset output module, which provides great flexibility in action processing.
THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
Diffstat (limited to 'runtime/objomsr.h')
-rw-r--r-- | runtime/objomsr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/objomsr.h b/runtime/objomsr.h index 75ad0fb8..e59b774f 100644 --- a/runtime/objomsr.h +++ b/runtime/objomsr.h @@ -27,8 +27,12 @@ /* define flags for required template options */ #define OMSR_NO_RQD_TPL_OPTS 0 #define OMSR_RQD_TPL_OPT_SQL 1 +/* only one of OMSR_TPL_AS_ARRAY or _AS_MSG must be specified, if both are given + * results are unpredictable. + */ #define OMSR_TPL_AS_ARRAY 2 /* introduced in 4.1.6, 2009-04-03 */ -/* next option is 4, 8, 16, ... */ +#define OMSR_TPL_AS_MSG 4 /* introduced in 5.3.4, 2009-11-02 */ +/* next option is 8, 16, 32, ... */ struct omodStringRequest_s { /* strings requested by output module for doAction() */ int iNumEntries; /* number of array entries for data elements below */ |