diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-06-14 15:19:35 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-06-14 15:19:35 +0000 |
commit | c89fb461413963a3d098bda5b150cdf87defdb10 (patch) | |
tree | 77e90c6a90a8d1a0d7c709e5a0fad9e1b119564e /src/include | |
parent | 3e687b39339ef473ff6a2de8a2664a5f59c3f7c5 (diff) | |
download | gnunet-c89fb461413963a3d098bda5b150cdf87defdb10.tar.gz gnunet-c89fb461413963a3d098bda5b150cdf87defdb10.zip |
- add mesh API to remove peer from blacklist
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_mesh_service.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
@@ -324,6 +324,20 @@ GNUNET_MESH_peer_blacklist (struct GNUNET_MESH_Tunnel *tunnel, | |||
324 | 324 | ||
325 | 325 | ||
326 | /** | 326 | /** |
327 | * Request that the given peer isn't blacklisted anymore from this tunnel, | ||
328 | * and therefore can be added in future calls to connect_by_*. | ||
329 | * The peer must have been previously blacklisted for this tunnel. | ||
330 | * | ||
331 | * @param tunnel handle to existing tunnel. | ||
332 | * @param peer peer identity of the peer which shouldn't be blacklisted | ||
333 | * for the tunnel anymore. | ||
334 | */ | ||
335 | void | ||
336 | GNUNET_MESH_peer_unblacklist (struct GNUNET_MESH_Tunnel *tunnel, | ||
337 | const struct GNUNET_PeerIdentity *peer); | ||
338 | |||
339 | |||
340 | /** | ||
327 | * Handle for a transmission request. | 341 | * Handle for a transmission request. |
328 | */ | 342 | */ |
329 | struct GNUNET_MESH_TransmitHandle; | 343 | struct GNUNET_MESH_TransmitHandle; |