diff options
Diffstat (limited to 'src/libutil/regexp.c')
-rw-r--r-- | src/libutil/regexp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libutil/regexp.c b/src/libutil/regexp.c index eaea894c0..00c60a337 100644 --- a/src/libutil/regexp.c +++ b/src/libutil/regexp.c @@ -739,3 +739,11 @@ rspamd_regexp_library_finalize (void) rspamd_regexp_cache_destroy (global_re_cache); } } + +gpointer +rspamd_regexp_get_id (rspamd_regexp_t *re) +{ + g_assert (re != NULL); + + return re->id; +} |