1/* $FreeBSD$ */ 2 3#ifndef TRE_FASTMATCH_H 4#define TRE_FASTMATCH_H 1 5 6#include <fastmatch.h> 7#include <hashtable.h> 8#include <limits.h> 9#include <regex.h> 10#include <stdbool.h> 11 12#include "hashtable.h" 13 14int tre_compile_literal(fastmatch_t *preg, const tre_char_t *regex, 15 size_t, int); 16int tre_compile_fast(fastmatch_t *preg, const tre_char_t *regex, size_t, int); 17int 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); 19void tre_free_fast(fastmatch_t *preg); 20 21#endif /* TRE_FASTMATCH_H */ 22