summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-06-23 12:48:27 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-06-23 12:48:27 +0200
commitf48128f34a17aae7e7b9405fe32b396db45443ca (patch)
treea122a65d4a2495570b5d8662fd75a1104cb0c521 /action.h
parentd6a3b08f56cc608bc832251cd49e86e71d9574dc (diff)
downloadrsyslog-f48128f34a17aae7e7b9405fe32b396db45443ca.tar.gz
rsyslog-f48128f34a17aae7e7b9405fe32b396db45443ca.tar.xz
rsyslog-f48128f34a17aae7e7b9405fe32b396db45443ca.zip
fixed a couple of regressions
by implementing some code that was missing so far ;) as well as finding some real bugs. I also did some general cleanup, removing debug strings and such. This code should be fairly OK to use, except when "exec only when previous action was suspended" is used -- this is NOT yet re-implemented in the tuned engine.
Diffstat (limited to 'action.h')
-rw-r--r--action.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.h b/action.h
index 509eada4..d313a6e3 100644
--- a/action.h
+++ b/action.h
@@ -73,7 +73,7 @@ struct action_s {
short f_ReduceRepeated;/* reduce repeated lines 0 - no, 1 - yes */
int f_prevcount; /* repetition cnt of prevline */
int f_repeatcount; /* number of "repeated" msgs */
- rsRetVal (*submitToActQ)(action_t *, msg_t *); /* function submit message to action queue */
+ rsRetVal (*submitToActQ)(action_t *, batch_t *);/* function submit message to action queue */
rsRetVal (*qConstruct)(struct queue_s *pThis);
enum { ACT_STRING_PASSING = 0, ACT_ARRAY_PASSING = 1, ACT_MSG_PASSING }
eParamPassing; /* mode of parameter passing to action */