pass only CadetTunnelAxolotl if it suffices, preparation for having ambiguous KX...
[oweals/gnunet.git] / src / cadet / gnunet-service-cadet-new_peer.h
index 8a1d3ed5c4ea58eba3965c88dfd1ccc3414d77e2..aaaef15b8bdae102a44b677484d5746eb047c0b5 100644 (file)
@@ -90,6 +90,16 @@ unsigned int
 GCP_count_paths (const struct CadetPeer *cp);
 
 
+/**
+ * Drop all paths owned by this peer, and do not
+ * allow new ones to be added: We are shutting down.
+ *
+ * @param cp peer to drop paths to
+ */
+void
+GCP_drop_owned_paths (struct CadetPeer *cp);
+
+
 /**
  * Peer path iterator.
  *