From: Bart Polot Date: Thu, 14 Jun 2012 15:19:35 +0000 (+0000) Subject: - add mesh API to remove peer from blacklist X-Git-Tag: initial-import-from-subversion-38251~13061 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c89fb461413963a3d098bda5b150cdf87defdb10;p=oweals%2Fgnunet.git - add mesh API to remove peer from blacklist --- 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. */