From a64af4adca9d3ac34f2507e768357ce5a6af6060 Mon Sep 17 00:00:00 2001 From: Pablo Rincon Date: Fri, 13 Nov 2009 01:10:26 +0100 Subject: [PATCH] Forgot to add this file --- src/tm-modules.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tm-modules.h b/src/tm-modules.h index 38570e4a0f..0c214ce108 100644 --- a/src/tm-modules.h +++ b/src/tm-modules.h @@ -54,13 +54,15 @@ TmModule tmm_modules[TMM_SIZE]; /** Global structure for Output Context */ typedef struct LogFileCtx_ { FILE *fp; - pthread_mutex_t fp_mutex; /** It will be locked if the log/alert * record cannot be written to the file in one call */ + pthread_mutex_t fp_mutex; - char *config_file; /** To know where did we read this config */ + char *config_file; + /** The name of the file */ + char *filename; } LogFileCtx; LogFileCtx *LogFileNewCtx();