new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / monitord / monitord.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All rights 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 _MONITORD_H
11 #define _MONITORD_H
12
13 #ifndef ARGV0
14 #define ARGV0 "ossec-monitord"
15 #endif
16
17 #include "config/reports-config.h"
18
19 /* Prototypes */
20 void Monitord(void) __attribute__((noreturn));
21 void manage_files(int cday, int cmon, int cyear);
22 void generate_reports(int cday, int cmon, int cyear);
23 void monitor_agents(void);
24 void OS_SignLog(const char *logfile, const char *logfile_old, int log_missing);
25 void OS_CompressLog(const char *logfile);
26
27 int OS_SendCustomEmail2(char **to, char *subject, char *smtpserver, char *from, char *idsname, char *fname);
28
29 /* Global variables */
30 extern monitor_config mond;
31
32 #endif
33