diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-27 16:55:40 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-07-27 16:55:40 +0000 |
commit | 1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e (patch) | |
tree | 249ec71321b657a6a37b91f1d03f4e2c4bf07697 /modules.h | |
parent | 8193522d85290df659d8c2e505e8c47f39db9267 (diff) | |
download | rsyslog-1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e.tar.gz rsyslog-1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e.tar.xz rsyslog-1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e.zip |
- added omsr object (objomsr.c, objomsr.h) - template request for output
modules
- changed doAction() interface
- templates and output string generation for doActon() is now fully
Diffstat (limited to 'modules.h')
-rw-r--r-- | modules.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -30,6 +30,8 @@ #ifndef MODULES_H_INCLUDED #define MODULES_H_INCLUDED 1 +#include "objomsr.h" + typedef enum eModType_ { eMOD_IN, /* input module */ eMOD_OUT, /* output module */ @@ -77,8 +79,8 @@ typedef struct moduleInfo { struct {/* data for output modules */ /* below: perform the configured action */ - rsRetVal (*doAction)(selector_t*, uchar*, void*); - rsRetVal (*parseSelectorAct)(uchar**, selector_t*, void**); + rsRetVal (*doAction)(selector_t*, uchar**, unsigned, void*); + rsRetVal (*parseSelectorAct)(uchar**, selector_t*, void**,omodStringRequest_t**); } om; } mod; } modInfo_t; |