From eb5a70fe0909450e3767a6123ae756178096651b Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 19 Feb 2014 12:46:50 +0100 Subject: [PATCH] output: add submodules list to OutputCtx Add a list to the OutputCtx that can contain OutputModule structures. This will be used by a 'parent' module to register submodules directly. --- src/tm-modules.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tm-modules.h b/src/tm-modules.h index 129c32f90d..a606306c55 100644 --- a/src/tm-modules.h +++ b/src/tm-modules.h @@ -74,6 +74,8 @@ typedef struct OutputCtx_ { /** Pointer to a cleanup function. */ void (*DeInit)(struct OutputCtx_ *); + + TAILQ_HEAD(, OutputModule_) submodules; } OutputCtx; TmModule *TmModuleGetByName(const char *name);