aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 14:40:19 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 14:40:19 +0000
commit7f91e1a05a4b989ddb31c2f54dff14dfa2cda847 (patch)
treeb63fe18fa0345d7dd4638ebf3e5a967a1a73e0bc /src/libutil/regexp.h
parent64f8d4af40adbcfb76ba4beb19f96b89d93c30ed (diff)
downloadrspamd-7f91e1a05a4b989ddb31c2f54dff14dfa2cda847.tar.gz
rspamd-7f91e1a05a4b989ddb31c2f54dff14dfa2cda847.zip
Initialization code for JIT regexps.
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r--src/libutil/regexp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h
index e44fbee01..2c53b20ee 100644
--- a/src/libutil/regexp.h
+++ b/src/libutil/regexp.h
@@ -47,7 +47,8 @@ rspamd_regexp_t* rspamd_regexp_new (const gchar *pattern, const gchar *flags,
* @param len
* @return
*/
-gboolean rspamd_regexp_search (rspamd_regexp_t *re, const gchar *text, gsize len);
+gboolean rspamd_regexp_search (rspamd_regexp_t *re,
+ const gchar *text, gsize len, gboolean raw);
/**
@@ -57,7 +58,8 @@ gboolean rspamd_regexp_search (rspamd_regexp_t *re, const gchar *text, gsize len
* @param len
* @return
*/
-gboolean rspamd_regexp_match (rspamd_regexp_t *re, const gchar *text, gsize len);
+gboolean rspamd_regexp_match (rspamd_regexp_t *re,
+ const gchar *text, gsize len, gboolean raw);
/**
* Increase refcount for a regexp object