From cf166128481bcdfaec8b6845acf3332494253839 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 5 Mar 2015 23:32:14 +0000 Subject: Adopt lua regexps for rspamd_regexp. --- src/libutil/regexp.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libutil/regexp.h') 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 @@ -75,6 +75,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 -- cgit v1.2.3