diff --git a/src/filters/filter.h b/src/filters/filter.h index 9530c4a..ccb7af4 100644 --- a/src/filters/filter.h +++ b/src/filters/filter.h @@ -17,5 +17,6 @@ extern const char *error(cfg_t *c); extern bool config(cfg_t *c, const char *key, const char *value); extern bool append(cfg_t *c, const char *pattern); extern bool ready(cfg_t *c); +extern bool stats(cfg_t *c, int *matches, char **pattern, bool reset); extern bool match(cfg_t *c, const char *line, char *buf, size_t bufsize); extern void destroy(cfg_t *c);