Project

General

Profile

Bug #7 » 0002-Forgot-to-add-this-file.patch

Will Metcalf, 11/13/2009 07:05 AM

View differences:

src/tm-modules.h
/** 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();
(2-2/2)