Debian Codegraph @

include/commandconf.h

raw symbols SCIP
1 /*
2 * AIDE (Advanced Intrusion Detection Environment)
3 *
4 * Copyright (C) 1999-2002, 2006, 2011, 2015-2016, 2020-2024 Rami Lehti,
5 * Pablo Virolainen, Richard van den Berg, Hannes von Haugwitz
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21
22 #ifndef _COMMANDCONF_H_INCLUDED
23 #define _COMMANDCONF_H_INCLUDED
24 #include "config.h"
25 #include <stdbool.h>
26 #include <stdio.h>
27 #include "attributes.h"
28 #include "config.h"
29 #include "db.h"
30 #include "rx_rule.h"
31 #include "seltree.h"
32
33 int parse_config(char *, char *, char *);
34
35 int conf_input_wrapper(char* buf, int max_size, FILE* in);
36
37 bool add_rx_rule_to_tree(char*, char*, rx_restriction_t, DB_ATTR_TYPE, int, seltree*, int, char*, char*);
38
39 void do_define(char*,char*, int, char*, char*);
40
41 void do_undefine(char*, int, char*, char*);
42
43 DB_ATTR_TYPE do_groupdef(char*,DB_ATTR_TYPE);
44
45 DB_ATTR_TYPE get_groupval(char*);
46
47 bool do_dbdef(DB_TYPE, char*, int, char*, char*);
48
49 bool do_reportlevel(char *, int, char*, char*);
50
51 void do_replevdef(char*);
52
53 bool do_repurldef(char*, int, char*, char*);
54
55 bool do_rootprefix(char*, int, char*, char*);
56
57 long do_num_workers(const char *);
58
59 #ifdef WITH_E2FSATTRS
60 void do_report_ignore_e2fsattrs(char*, int, char*, char*);
61 #endif
62 #endif