1 /* Copyright (C) 2009 Trend Micro Inc.
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
14 #define ARGV0 "ossec-monitord"
17 #include "config/reports-config.h"
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);
27 int OS_SendCustomEmail2(char **to, char *subject, char *smtpserver, char *from, char *idsname, char *fname);
29 /* Global variables */
30 extern monitor_config mond;