X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fmonitord%2Fmonitord.h;h=c608ca2087f9d4d7ef26af8b3a6dc2c8076665e4;hp=18e97e5802f1e794684647970efa842af7231e2c;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a diff --git a/src/monitord/monitord.h b/src/monitord/monitord.h index 18e97e5..c608ca2 100755 --- a/src/monitord/monitord.h +++ b/src/monitord/monitord.h @@ -1,11 +1,12 @@ -/* @(#) $Id: monitord.h,v 1.7 2009/06/24 17:06:27 dcid Exp $ */ +/* @(#) $Id: ./src/monitord/monitord.h, 2011/09/08 dcid Exp $ + */ /* 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 */ @@ -16,17 +17,9 @@ #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 +30,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();