3 #ifndef TRE_FASTMATCH_H
4 #define TRE_FASTMATCH_H 1
12 #include "hashtable.h"
14 int tre_compile_literal(fastmatch_t *preg, const tre_char_t *regex,
16 int tre_compile_fast(fastmatch_t *preg, const tre_char_t *regex, size_t, int);
17 int tre_match_fast(const fastmatch_t *fg, const void *data, size_t len,
18 tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags);
19 void tre_free_fast(fastmatch_t *preg);
21 #endif /* TRE_FASTMATCH_H */