summaryrefslogtreecommitdiffstats
path: root/runtime/modules.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-27 15:40:54 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-27 15:40:54 +0200
commit10bab38993ae6853d7e23c6f6bd44eb0ed69e001 (patch)
tree75de3734928710ff9fe7e91846d7a41545d08a28 /runtime/modules.h
parent8159d0a117837ed573e80cf86f4f013bf9534ab2 (diff)
downloadrsyslog-10bab38993ae6853d7e23c6f6bd44eb0ed69e001.tar.gz
rsyslog-10bab38993ae6853d7e23c6f6bd44eb0ed69e001.tar.xz
rsyslog-10bab38993ae6853d7e23c6f6bd44eb0ed69e001.zip
begin implementation of new transactional output module interface
code is not complete, error cases are not handled.
Diffstat (limited to 'runtime/modules.h')
-rw-r--r--runtime/modules.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/modules.h b/runtime/modules.h
index 372529ee..e33bbbe1 100644
--- a/runtime/modules.h
+++ b/runtime/modules.h
@@ -110,7 +110,9 @@ typedef struct modInfo_s {
struct {/* data for output modules */
/* below: perform the configured action
*/
+ rsRetVal (*beginTransaction)(void*);
rsRetVal (*doAction)(uchar**, unsigned, void*);
+ rsRetVal (*endTransaction)(void*);
rsRetVal (*parseSelectorAct)(uchar**, void**,omodStringRequest_t**);
} om;
struct { /* data for library modules */