aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/regexp.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 23:32:14 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-05 23:32:14 +0000
commitcf166128481bcdfaec8b6845acf3332494253839 (patch)
tree8591d891c6316f06f745e67c0050f319e049adc9 /src/libutil/regexp.h
parent20df05fe8db123c5b70158ccddd5f5373a4b9a04 (diff)
downloadrspamd-cf166128481bcdfaec8b6845acf3332494253839.tar.gz
rspamd-cf166128481bcdfaec8b6845acf3332494253839.zip
Adopt lua regexps for rspamd_regexp.
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r--src/libutil/regexp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h
index fdbe44404..6e8aa7295 100644
--- a/src/libutil/regexp.h
+++ b/src/libutil/regexp.h
@@ -76,6 +76,13 @@ rspamd_regexp_t* rspamd_regexp_ref (rspamd_regexp_t *re);
void rspamd_regexp_unref (rspamd_regexp_t *re);
/**
+ * Get pattern for the specified regexp object
+ * @param re
+ * @return
+ */
+const char* rspamd_regexp_get_pattern (rspamd_regexp_t *re);
+
+/**
* Create new regexp cache
* @return
*/