summaryrefslogtreecommitdiffstats
path: root/src/libutil/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r--src/libutil/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h
index 8e3fe090f..b0825bfbf 100644
--- a/src/libutil/util.h
+++ b/src/libutil/util.h
@@ -441,4 +441,10 @@ guchar* rspamd_decode_base32 (const gchar *in, gsize inlen, gsize *outlen);
*/
gdouble rspamd_get_ticks (void);
+/**
+ * Special utility to help array freeing in rspamd_mempool
+ * @param p
+ */
+void rspamd_ptr_array_free_hard (gpointer p);
+
#endif