diff options
Diffstat (limited to 'src/libutil/regexp.h')
-rw-r--r-- | src/libutil/regexp.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libutil/regexp.h b/src/libutil/regexp.h index cf012668a..a67bef990 100644 --- a/src/libutil/regexp.h +++ b/src/libutil/regexp.h @@ -133,6 +133,17 @@ guint64 rspamd_regexp_get_cache_id (rspamd_regexp_t *re); guint64 rspamd_regexp_set_cache_id (rspamd_regexp_t *re, guint64 id); /** + * Get regexp class for the re object + */ +gpointer rspamd_regexp_get_class (rspamd_regexp_t *re); + +/** + * Set regexp class for the re object + * @return old re class value + */ +gpointer rspamd_regexp_set_class (rspamd_regexp_t *re, gpointer re_class); + +/** * Create new regexp cache * @return */ |