1 /* @(#) $Id: report_op.h,v 1.2 2009/06/24 17:06:26 dcid Exp $ */
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 3) 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
30 typedef struct _report_filter
58 int os_report_configfilter(char *filter_by, char *filter_value,
59 report_filter *r_filter, int arg_type);
60 void os_report_printtop(void *topstore, char *hname, int print_related);
61 void os_ReportdStart(report_filter *r_filter);