Date: Wed, 22 Feb 2012 21:46:16 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r232006 - user/gabor/tre-integration/contrib/tre/lib Message-ID: <201202222146.q1MLkGka070336@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gabor Date: Wed Feb 22 21:46:15 2012 New Revision: 232006 URL: http://svn.freebsd.org/changeset/base/232006 Log: - Add back struct that has been removed with an old header Modified: user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h Modified: user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h ============================================================================== --- user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h Wed Feb 22 21:45:52 2012 (r232005) +++ user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h Wed Feb 22 21:46:15 2012 (r232006) @@ -1,14 +1,40 @@ #ifndef TRE_FASTMATCH_H #define TRE_FASTMATCH_H 1 -#include <fastmatch.h> #include <limits.h> #include <regex.h> #include <stdbool.h> +#include <wchar.h> #include "hashtable.h" #include "tre-internal.h" +typedef struct { + size_t wlen; + size_t len; + wchar_t *wpattern; + bool *wescmap; + unsigned int qsBc[UCHAR_MAX + 1]; + unsigned int *bmGs; + char *pattern; + bool *escmap; + unsigned int defBc; + void *qsBc_table; + unsigned int *sbmGs; + const char *re_endp; + + /* flags */ + bool hasdot; + bool bol; + bool eol; + bool word; + bool icase; + bool newline; + bool nosub; + bool matchall; + bool reversed; +} fastmatch_t; + int tre_proc_literal(fastmatch_t *, const tre_char_t *, size_t, const char *, size_t, int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202222146.q1MLkGka070336>