diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-03 17:39:53 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-03 17:39:53 +0000 |
commit | 5126e935664c63e1430c812dd7c05f0bea5ffc27 (patch) | |
tree | bb2834821b1dae31921e93b7de0f666013e2726b /src/libutil/regexp.c | |
parent | cdf89b1d3b599cdc1716403dcc93f0ca4f06a247 (diff) | |
download | rspamd-5126e935664c63e1430c812dd7c05f0bea5ffc27.tar.gz rspamd-5126e935664c63e1430c812dd7c05f0bea5ffc27.zip |
Add missing function
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; +} |