Browse Source

* chg filter module api : add flush()

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

1
src/filters/filter.h

@ -28,4 +28,5 @@ extern bool append(cfg_t *c, const char *pattern);
extern bool ready(cfg_t *c); extern bool ready(cfg_t *c);
extern bool stats(cfg_t *c, int *matches, char **pattern, bool reset); 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 bool match(cfg_t *c, const char *line, char *buf, size_t bufsize);
extern void flush(cfg_t *c);
extern void destroy(cfg_t *c); extern void destroy(cfg_t *c);

Loading…
Cancel
Save