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