summaryrefslogtreecommitdiffstats
path: root/modules.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-27 16:55:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-27 16:55:40 +0000
commit1d96a98daf4ac4c4ec9e664e328f1aac4bf6af9e (patch)
tree249ec71321b657a6a37b91f1d03f4e2c4bf07697 /modules.h
parent8193522d85290df659d8c2e505e8c47f39db9267 (diff)
downloadrsyslog-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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules.h b/modules.h
index 19695eba..e6398a2e 100644
--- a/modules.h
+++ b/modules.h
@@ -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;