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 /runtime/modules.c | |
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 'runtime/modules.c')
-rw-r--r-- | runtime/modules.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/modules.c b/runtime/modules.c index cef4eac6..9fdb48e7 100644 --- a/runtime/modules.c +++ b/runtime/modules.c @@ -225,6 +225,8 @@ static rsRetVal queryHostEtryPt(uchar *name, rsRetVal (**pEtryPoint)()) *pEtryPoint = regCfSysLineHdlr; } else if(!strcmp((char*) name, "objGetObjInterface")) { *pEtryPoint = objGetObjInterface; + } else if(!strcmp((char*) name, "OMSRgetSupportedTplOpts")) { + *pEtryPoint = OMSRgetSupportedTplOpts; } else { *pEtryPoint = NULL; /* to be on the safe side */ ABORT_FINALIZE(RS_RET_ENTRY_POINT_NOT_FOUND); |