filter.h 283 Bytes
Newer Older
Cedric Roux's avatar
Cedric Roux committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _FILTER_H_
#define _FILTER_H_

#include "event.h"

typedef void filter;

filter *filter_eq(filter *a, filter *b);
filter *filter_int(int v);
filter *filter_evarg(void *database, char *event_name, char *varname);

int filter_eval(filter *f, event e);

#endif /* _FILTER_H_ */