From 74135da95971c8d03e4e45f7d3f703e1d40f76f4 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 10 Jun 2010 12:24:22 +0200 Subject: some cleanup as well as some work in preparation of storing doAction params inside the batch --- runtime/batch.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/batch.h') diff --git a/runtime/batch.h b/runtime/batch.h index 2b3aa83e..ec257125 100644 --- a/runtime/batch.h +++ b/runtime/batch.h @@ -45,6 +45,12 @@ typedef enum { struct batch_obj_s { obj_t *pUsrp; /* pointer to user object (most often message) */ batch_state_t state; /* associated state */ + void *pActParams; /* parameters to be passed to action */ + size_t *pLenParams; /* length of the parameter in question */ + void *staticActParams[CONF_OMOD_NUMSTRINGS_BUFSIZE]; + /* a cache to save malloc(), if not absolutely necessary */ + size_t staticLenParams[CONF_OMOD_NUMSTRINGS_BUFSIZE]; + /* and the same for the message length (if used) */ }; /* the batch -- cgit v1.2.3