diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 12:51:02 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 12:51:02 +0200 |
commit | ec0e2c3e7df6addc02431628daddfeae49b92af7 (patch) | |
tree | 09377ca7ce8c0d67b7760f3db7680949ff480bc2 /action.h | |
parent | d747083e54badeeb45f3d46df2916047e60021b4 (diff) | |
download | rsyslog-ec0e2c3e7df6addc02431628daddfeae49b92af7.tar.gz rsyslog-ec0e2c3e7df6addc02431628daddfeae49b92af7.tar.xz rsyslog-ec0e2c3e7df6addc02431628daddfeae49b92af7.zip |
added a new way how output plugins may be passed parameters.
This is more efficient for some outputs. They new can receive fields not only
as a single string but rather in an array where each string is seperated.
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,8 @@ struct action_s { short f_ReduceRepeated;/* reduce repeated lines 0 - no, 1 - yes */ int f_prevcount; /* repetition cnt of prevline */ int f_repeatcount; /* number of "repeated" msgs */ + enum { ACT_STRING_PASSING = 0, ACT_ARRAY_PASSING = 1 } + eParamPassing; /* mode of parameter passing to action */ int iNumTpls; /* number of array entries for template element below */ struct template **ppTpl;/* array of template to use - strings must be passed to doAction * in this order. */ |