Browse Source

* filter.h : reorganize definitions

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

11
src/filter.h

@ -24,11 +24,10 @@ typedef struct f2b_filter_t {
} f2b_filter_t; } f2b_filter_t;
f2b_filter_t * f2b_filter_create (f2b_config_section_t *config, const char *id); f2b_filter_t * f2b_filter_create (f2b_config_section_t *config, const char *id);
void f2b_filter_destroy(f2b_filter_t *b); const char * f2b_filter_error (f2b_filter_t *f);
bool f2b_filter_append (f2b_filter_t *f, const char *pattern);
bool f2b_filter_append(f2b_filter_t *b, const char *pattern); bool f2b_filter_match (f2b_filter_t *f, const char *line, char *buf, size_t buf_size);
bool f2b_filter_match(f2b_filter_t *b, const char *line, char *buf, size_t buf_size); void f2b_filter_stats (f2b_filter_t *f, char *res, size_t ressize);
const char * f2b_filter_error(f2b_filter_t *b); void f2b_filter_destroy (f2b_filter_t *f);
void f2b_filter_stats (f2b_filter_t *b, char *res, size_t ressize);
#endif /* F2B_FILTER_H_ */ #endif /* F2B_FILTER_H_ */

Loading…
Cancel
Save