X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fconfig%2Freports-config.h;fp=src%2Fconfig%2Freports-config.h;h=4b37a8dc4b0828ab2c7cdffe105c04ec04223844;hp=0000000000000000000000000000000000000000;hb=301048b51990573e58a30dc4a5bb4ec285cad554;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a diff --git a/src/config/reports-config.h b/src/config/reports-config.h new file mode 100755 index 0000000..4b37a8d --- /dev/null +++ b/src/config/reports-config.h @@ -0,0 +1,47 @@ +/* @(#) $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 2) as published by the FSF - Free Software + * Foundation + */ + + +#ifndef _REPORTSCONFIG_H +#define _REPORTSCONFIG_H + +#include "report_op.h" + + +/* Structure for the report. */ +typedef struct _report_config +{ + char *title; + char *args; + char *relations; + char *type; + char **emailto; + report_filter r_filter; +}report_config; + +typedef struct _monitor_config +{ + short int day_wait; + short int compress; + short int sign; + short int monitor_agents; + int a_queue; + + char *smtpserver; + char *emailfrom; + + char **agents; + report_config **reports; +}monitor_config; + + + +#endif