1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
13 #define REPORT_RELATED 1
14 #define REPORT_FILTER 2
16 #define REPORT_REL_USER 0x001
17 #define REPORT_REL_SRCIP 0x002
18 #define REPORT_REL_LEVEL 0x004
19 #define REPORT_REL_RULE 0x010
20 #define REPORT_REL_GROUP 0x020
21 #define REPORT_REL_LOCATION 0x040
22 #define REPORT_TYPE_DAILY 0x100
23 #define REPORT_REL_FILE 0x200
25 typedef struct _report_filter {
26 const char *report_name;
42 OSStore *top_location;
59 int os_report_configfilter(const char *filter_by, const char *filter_value,
60 report_filter *r_filter, int arg_type) __attribute__((nonnull(3)));
61 void os_report_printtop(void *topstore, const char *hname, int print_related) __attribute__((nonnull));
62 void os_ReportdStart(report_filter *r_filter) __attribute__((nonnull));