3 /* Copyright (C) 2009 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 2) as published by the FSF - Free Software
17 #define REPORT_RELATED 1
18 #define REPORT_FILTER 2
21 #define REPORT_REL_USER 0x001
22 #define REPORT_REL_SRCIP 0x002
23 #define REPORT_REL_LEVEL 0x004
24 #define REPORT_REL_RULE 0x010
25 #define REPORT_REL_GROUP 0x020
26 #define REPORT_REL_LOCATION 0x040
27 #define REPORT_TYPE_DAILY 0x100
31 typedef struct _report_filter
66 int os_report_configfilter(char *filter_by, char *filter_value,
67 report_filter *r_filter, int arg_type);
68 void os_report_printtop(void *topstore, char *hname, int print_related);
69 void os_ReportdStart(report_filter *r_filter);