Browse Source

* chg filter definition

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

1
src/filter.h

@ -18,6 +18,7 @@ typedef struct f2b_filter_t {
bool (*append) (void *cfg, const char *pattern); bool (*append) (void *cfg, const char *pattern);
char *(*error) (void *cfg); char *(*error) (void *cfg);
bool (*ready) (void *cfg); bool (*ready) (void *cfg);
bool (*flush) (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); bool (*match) (void *cfg, const char *line, char *buf, size_t buf_size);
void (*destroy) (void *cfg); void (*destroy) (void *cfg);

Loading…
Cancel
Save