Forgot to add this file

remotes/origin/master-1.0.x
Pablo Rincon 16 years ago committed by Victor Julien
parent 15855e11f3
commit a64af4adca

@ -54,13 +54,15 @@ TmModule tmm_modules[TMM_SIZE];
/** Global structure for Output Context */ /** Global structure for Output Context */
typedef struct LogFileCtx_ { typedef struct LogFileCtx_ {
FILE *fp; FILE *fp;
pthread_mutex_t fp_mutex;
/** It will be locked if the log/alert /** It will be locked if the log/alert
* record cannot be written to the file in one call */ * 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 */ /** To know where did we read this config */
char *config_file;
/** The name of the file */
char *filename;
} LogFileCtx; } LogFileCtx;
LogFileCtx *LogFileNewCtx(); LogFileCtx *LogFileNewCtx();

Loading…
Cancel
Save