Browse Source

* filter.h : fix stats() definition

master
Alex 'AdUser' Z 8 years ago
parent
commit
eb77abed3d
  1. 2
      src/filter.h

2
src/filter.h

@ -18,7 +18,7 @@ typedef struct f2b_filter_t {
bool (*append) (void *cfg, const char *pattern);
char *(*error) (void *cfg);
bool (*ready) (void *cfg);
bool (*stats) (void *cfg, int **matches, char **pattern, bool reset);
bool (*stats) (void *cfg, int *matches, char **pattern, bool reset);
bool (*match) (void *cfg, const char *line, char *buf, size_t buf_size);
void (*destroy) (void *cfg);
} f2b_filter_t;

Loading…
Cancel
Save