summaryrefslogtreecommitdiff
path: root/src/bin/rules.h
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-13 09:13:12 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-13 09:13:12 +0100
commit0e4de792483f8539c4a60c9d1d0b6f567b2e8cfb (patch)
tree41031351c968ed7e965e7cc822edd34ccdbd3c03 /src/bin/rules.h
parent371d0cfc0c02dfc6889be3b7e3100d380e65410a (diff)
Less files is better.
Also removed some doxygen doc.
Diffstat (limited to 'src/bin/rules.h')
-rw-r--r--src/bin/rules.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/bin/rules.h b/src/bin/rules.h
deleted file mode 100644
index 7bc2019..0000000
--- a/src/bin/rules.h
+++ /dev/null
@@ -1,47 +0,0 @@
1/*
2 * Copyright © 2013 Guillaume Friloux <kuri@efl.so>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 *
17 */
18
19/**
20 * @file rules.h
21 * @brief Contains all includes and prototypes for rules.c
22 * @author Guillaume Friloux <kuri@efl.so>
23 * @version 1.0
24 *
25 * Contains all includes and prototypes for rules.c
26 */
27
28#include <dirent.h>
29#include <errno.h>
30#include <Eina.h>
31#include <fnmatch.h>
32#include <sys/types.h>
33#include <regex.h>
34
35#include "libconf.h"
36#include "global.h"
37#include "logmessages.h"
38
39struct rule *rules_temp; /**< Pointer to a rule, used so rules_load_rule_loadspec() knowns which rule rules_load_rule() is processing */
40
41int rules_load(void);
42int rules_load_rule(char *rule_name);
43int rules_load_rule_loadspec(char *variable, char *value);
44int rules_print(void);
45int rules_list(int (*callback)(struct rule *foundrule));
46int rules_filtermessage(struct logmessage *new_logmessage);
47