90bef613515f85dabc982deac54f978cb87c8a9b
[ossec-hids.git] / src / analysisd / alerts / getloglocation.h
1 /* @(#) $Id$ */
2
3 /* Copyright (C) 2009 Trend Micro Inc.
4  * All right reserved.
5  *
6  * This program is a free software; you can redistribute it
7  * and/or modify it under the terms of the GNU General Public
8  * License (version 2) as published by the FSF - Free Software
9  * Foundation
10  */
11
12
13 #ifndef __GETLL_H
14
15 #define __GETLL_H
16
17 #include "eventinfo.h"
18
19 /*
20  * Start the log location (need to be called before getlog)
21  *
22  */
23 void OS_InitLog();
24
25 void OS_InitFwLog();
26
27 /*
28  * Get the log file based on the date/logtype/
29  *
30  * @param lf        Event structure
31  *
32  * @retval 0        success
33  *         -1       error 
34  */
35 int OS_GetLogLocation(Eventinfo *lf);
36
37
38 FILE *_eflog;
39 FILE *_aflog;
40 FILE *_fflog;
41
42 #endif /* GETLL_H */