blob: 7cdb640c303fed11b87e7dd33b0e7029a7ad16bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef PLOC_GEN_FILTER_H
#define PLOC_GEN_FILTER_H
#include "stdbool.h"
#include "pattern/pattern.h"
struct filter
{
void *state;
void *(*create)();
void (*free)(void *);
bool (*filter)(void *, struct pattern *);
};
#endif
|