From c89fb461413963a3d098bda5b150cdf87defdb10 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 14 Jun 2012 15:19:35 +0000 Subject: [PATCH] - add mesh API to remove peer from blacklist --- src/include/gnunet_mesh_service.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/include/gnunet_mesh_service.h b/src/include/gnunet_mesh_service.h index 9e3ef1fac..fc5985efd 100644 --- a/src/include/gnunet_mesh_service.h +++ b/src/include/gnunet_mesh_service.h @@ -323,6 +323,20 @@ GNUNET_MESH_peer_blacklist (struct GNUNET_MESH_Tunnel *tunnel, const struct GNUNET_PeerIdentity *peer); +/** + * Request that the given peer isn't blacklisted anymore from this tunnel, + * and therefore can be added in future calls to connect_by_*. + * The peer must have been previously blacklisted for this tunnel. + * + * @param tunnel handle to existing tunnel. + * @param peer peer identity of the peer which shouldn't be blacklisted + * for the tunnel anymore. + */ +void +GNUNET_MESH_peer_unblacklist (struct GNUNET_MESH_Tunnel *tunnel, + const struct GNUNET_PeerIdentity *peer); + + /** * Handle for a transmission request. */ -- 2.25.1