]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.bin/grep/regex/tre-fastmatch.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.bin / grep / regex / tre-fastmatch.h
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
14 int     tre_compile_literal(fastmatch_t *preg, const tre_char_t *regex,
15             size_t, int);
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);
20
21 #endif          /* TRE_FASTMATCH_H */