Browse Source

* src/regexps.h: export f2b_regexlist_from_file()

master
Alex 'AdUser' Z 9 years ago
parent
commit
26d2474beb
  1. 1
      src/regexps.h

1
src/regexps.h

@ -10,6 +10,7 @@ f2b_regex_t * f2b_regex_create (const char *pattern, bool icase);
bool f2b_regex_match (f2b_regex_t *regex, const char *line, char *buf, size_t hbuf_size); bool f2b_regex_match (f2b_regex_t *regex, const char *line, char *buf, size_t hbuf_size);
void f2b_regex_destroy(f2b_regex_t *regex); void f2b_regex_destroy(f2b_regex_t *regex);
f2b_regex_t * f2b_regexlist_from_file(const char *path);
f2b_regex_t * f2b_regexlist_append (f2b_regex_t *list, f2b_regex_t *regex); f2b_regex_t * f2b_regexlist_append (f2b_regex_t *list, f2b_regex_t *regex);
bool f2b_regexlist_match (f2b_regex_t *list, const char *line, char *buf, size_t buf_size); bool f2b_regexlist_match (f2b_regex_t *list, const char *line, char *buf, size_t buf_size);
f2b_regex_t * f2b_regexlist_destroy(f2b_regex_t *list); f2b_regex_t * f2b_regexlist_destroy(f2b_regex_t *list);

Loading…
Cancel
Save