]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add missing function
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 3 Dec 2015 17:39:53 +0000 (17:39 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 3 Dec 2015 17:39:53 +0000 (17:39 +0000)
src/libutil/regexp.c

index eaea894c033a9b40ae5ddacf8305cd6295ea490f..00c60a3376dcfdcc9d984a7bb7a1dc99c6ec0a25 100644 (file)
@@ -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;
+}