Imported Upstream version 2.5.1
[ossec-hids.git] / src / os_csyslogd / csyslogd.h
1 /* @(#) $Id$ */
2
3 /* Copyright (C) 2009 Trend Micro Inc.
4  * All rights 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  * License details at the LICENSE file included with OSSEC or 
12  * online at: http://www.ossec.net/en/licensing.html
13  */
14
15
16 #ifndef _CSYSLOGD_H
17 #define _CSYSLOGD_H
18
19
20 #include "config/csyslogd-config.h"
21
22
23 /** Prototypes **/
24
25 /* Read syslog config */
26 void *OS_ReadSyslogConf(int test_config, char *cfgfile,
27                         SyslogConfig **sys_config);
28
29
30 /* Send alerts via syslog */
31 int OS_Alert_SendSyslog(alert_data *al_data, SyslogConfig *syslog_config);
32
33
34 /* Database inserting main function */
35 void OS_CSyslogD(SyslogConfig **syslog_config);
36
37
38
39 /** Global vars **/
40
41 /* System hostname */
42 char __shost[512];
43
44
45 #endif