summaryrefslogtreecommitdiff
path: root/src/or/hs_circuit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/hs_circuit.h')
-rw-r--r--src/or/hs_circuit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hs_circuit.h b/src/or/hs_circuit.h
index 0a1186dbaa..63ff5e463c 100644
--- a/src/or/hs_circuit.h
+++ b/src/or/hs_circuit.h
@@ -15,6 +15,9 @@
#include "hs_service.h"
+/* Cleanup function when the circuit is closed or/and freed. */
+void hs_circ_cleanup(circuit_t *circ);
+
/* Circuit API. */
int hs_circ_service_intro_has_opened(hs_service_t *service,
hs_service_intro_point_t *ip,