diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 12:52:53 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-03 12:52:53 +0200 |
commit | 1a08fa5ded3087a3b60d87a20d25a4ec589eba21 (patch) | |
tree | 9dd51c4b9db468be41a63f4286029d95bef0bf0b /runtime/objomsr.c | |
parent | 5f397495524ffe460fe93d2f1069f3077f48b7b0 (diff) | |
parent | ec0e2c3e7df6addc02431628daddfeae49b92af7 (diff) | |
download | rsyslog-1a08fa5ded3087a3b60d87a20d25a4ec589eba21.tar.gz rsyslog-1a08fa5ded3087a3b60d87a20d25a4ec589eba21.tar.bz2 rsyslog-1a08fa5ded3087a3b60d87a20d25a4ec589eba21.zip |
Merge branch 'master' into oracle
Diffstat (limited to 'runtime/objomsr.c')
-rw-r--r-- | runtime/objomsr.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/objomsr.c b/runtime/objomsr.c index 21d284f3..8dddc4b8 100644 --- a/runtime/objomsr.c +++ b/runtime/objomsr.c @@ -141,5 +141,23 @@ int OMSRgetEntry(omodStringRequest_t *pThis, int iEntry, uchar **ppTplName, int return RS_RET_OK; } + + +/* return the full set of template options that are supported by this version of + * OMSR. They are returned in an unsigned long value. The caller can mask that + * value to check on the option he is interested in. + * Note that this interface was added in 4.1.6, so a plugin must obtain a pointer + * to this interface via queryHostEtryPt(). + * rgerhards, 2009-04-03 + */ +rsRetVal +OMSRgetSupportedTplOpts(unsigned long *pOpts) +{ + DEFiRet; + assert(pOpts != NULL); + *pOpts = OMSR_RQD_TPL_OPT_SQL | OMSR_TPL_AS_ARRAY; + RETiRet; +} + /* vim:set ai: */ |