new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / analysisd / alerts / log.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 /* Basic logging operations */
11
12 #ifndef __LOG_H
13 #define __LOG_H
14
15 #include "eventinfo.h"
16
17 #define FWDROP "drop"
18 #define FWALLOW "accept"
19
20 void OS_LogOutput(Eventinfo *lf);
21 void OS_Log(Eventinfo *lf);
22 void OS_CustomLog(const Eventinfo *lf, const char *format);
23 void OS_Store(const Eventinfo *lf);
24 int FW_Log(Eventinfo *lf);
25
26 #endif
27