diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-08 00:55:09 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-08 00:55:09 +0000 |
commit | b19163b84133ada0ff04581065905be7a7436d96 (patch) | |
tree | 7c23b4742189c0c7d115032c2181581f5434d5d5 /src/libutil/regexp.h | |
parent | d4085bd9b38d9594816d48c03de523a682206c84 (diff) | |
download | rspamd-b19163b84133ada0ff04581065905be7a7436d96.tar.gz rspamd-b19163b84133ada0ff04581065905be7a7436d96.zip |
Add routine to compare to rspamd_regexp_t
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r-- | src/libutil/regexp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h index a67bef990..a64f36e1a 100644 --- a/src/libutil/regexp.h +++ b/src/libutil/regexp.h @@ -214,6 +214,11 @@ guint32 rspamd_regexp_hash (gconstpointer a); gboolean rspamd_regexp_equal (gconstpointer a, gconstpointer b); /** + * Acts like memcmp but for regexp + */ +gint rspamd_regexp_cmp (gconstpointer a, gconstpointer b); + +/** * Initialize superglobal regexp cache and library */ void rspamd_regexp_library_init (void); |