aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r--src/libutil/http.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h
index b52671e10..83a284a52 100644
--- a/src/libutil/http.h
+++ b/src/libutil/http.h
@@ -193,7 +193,13 @@ GString *rspamd_http_connection_print_key (gpointer key, guint how);
* Release key pointed by an opaque pointer
* @param key opaque key structure
*/
-void rspamd_http_connection_key_destroy (gpointer key);
+void rspamd_http_connection_key_unref (gpointer key);
+
+/**
+ * Increase refcount for a key pointed by an opaque pointer
+ * @param key opaque key structure
+ */
+gpointer rspamd_http_connection_key_ref (gpointer key);
GString *rspamd_http_connection_make_peer_key (const gchar *key);