diff options
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r-- | src/libutil/regexp.h | 6 |
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 |