Imported Upstream version 2.5.1
[ossec-hids.git] / src / monitord / monitord.h
index 18e97e5..7a9c7a7 100755 (executable)
@@ -1,11 +1,11 @@
-/* @(#) $Id: monitord.h,v 1.7 2009/06/24 17:06:27 dcid Exp $ */
+/* @(#) $Id$ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
 #ifndef ARGV0
    #define ARGV0 "ossec-monitord"
 #endif
-   
-typedef struct _monitor_config
-{
-    short int day_wait;
-    short int compress;
-    short int sign;
-    short int monitor_agents;
-    int a_queue;
 
-    char **agents;
-}monitor_config;
+#include "config/reports-config.h"
+
 
 
 /** Prototypes **/
@@ -37,6 +29,9 @@ void Monitord();
 /*manage_files */
 void manage_files(int cday, int cmon, int cyear);
 
+/* generate reports. */
+void generate_reports(int cday, int cmon, int cyear, struct tm *p);
+
 /* monitor_agents */
 void monitor_agents();