1 /* @(#) $Id: ./src/headers/report_op.h, 2011/09/08 dcid Exp $
4 /* Copyright (C) 2009 Trend Micro Inc.
7 * This program is a free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General Public
9 * License (version 2) as published by the FSF - Free Software
18 #define REPORT_RELATED 1
19 #define REPORT_FILTER 2
22 #define REPORT_REL_USER 0x001
23 #define REPORT_REL_SRCIP 0x002
24 #define REPORT_REL_LEVEL 0x004
25 #define REPORT_REL_RULE 0x010
26 #define REPORT_REL_GROUP 0x020
27 #define REPORT_REL_LOCATION 0x040
28 #define REPORT_TYPE_DAILY 0x100
29 #define REPORT_REL_FILE 0x200
33 typedef struct _report_filter
71 int os_report_configfilter(char *filter_by, char *filter_value,
72 report_filter *r_filter, int arg_type);
73 void os_report_printtop(void *topstore, char *hname, int print_related);
74 void os_ReportdStart(report_filter *r_filter);