new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / alerts / getloglocation.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All right reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 #ifndef __GETLL_H
11 #define __GETLL_H
12
13 #include "eventinfo.h"
14
15 /* Start the log location (need to be called before getlog) */
16 void OS_InitLog(void);
17 void OS_InitFwLog(void);
18
19 /* Get the log file based on the date/logtype
20  * Returns 0 on success or -1 on error
21  */
22 int OS_GetLogLocation(const Eventinfo *lf);
23
24 /* Global declarations */
25 extern FILE *_eflog;
26 extern FILE *_ejflog;
27 extern FILE *_aflog;
28 extern FILE *_fflog;
29 extern FILE *_jflog;
30
31 #endif /* __GETLL_H */
32