1226035Sgabor/* $FreeBSD$ */ 2226035Sgabor 3226035Sgabor#ifndef TRE_FASTMATCH_H 4226035Sgabor#define TRE_FASTMATCH_H 1 5226035Sgabor 6226035Sgabor#include <fastmatch.h> 7226035Sgabor#include <hashtable.h> 8226035Sgabor#include <limits.h> 9226035Sgabor#include <regex.h> 10226035Sgabor#include <stdbool.h> 11226035Sgabor 12226035Sgabor#include "hashtable.h" 13226035Sgabor 14226035Sgaborint tre_compile_literal(fastmatch_t *preg, const tre_char_t *regex, 15226035Sgabor size_t, int); 16226035Sgaborint tre_compile_fast(fastmatch_t *preg, const tre_char_t *regex, size_t, int); 17226035Sgaborint tre_match_fast(const fastmatch_t *fg, const void *data, size_t len, 18226035Sgabor tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags); 19226035Sgaborvoid tre_free_fast(fastmatch_t *preg); 20226035Sgabor 21226035Sgabor#endif /* TRE_FASTMATCH_H */ 22