aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-06-12 15:17:37 +0000
committerBart Polot <bart@net.in.tum.de>2012-06-12 15:17:37 +0000
commit3e07554a8000e87ff6120fea57333585e69367b3 (patch)
tree52f5167a416add59cb4f6043b5d87de3abe08669 /src/include
parent8a4d5fd3be81ad5b47807a3ae89ac921864f6017 (diff)
downloadgnunet-3e07554a8000e87ff6120fea57333585e69367b3.tar.gz
gnunet-3e07554a8000e87ff6120fea57333585e69367b3.zip
- add peer blacklist API
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_mesh_service.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/gnunet_mesh_service.h b/src/include/gnunet_mesh_service.h
index 889c86358..9e3ef1fac 100644
--- a/src/include/gnunet_mesh_service.h
+++ b/src/include/gnunet_mesh_service.h
@@ -311,6 +311,19 @@ GNUNET_MESH_peer_request_connect_by_string (struct GNUNET_MESH_Tunnel *tunnel,
311 311
312 312
313/** 313/**
314 * Request that the given peer isn't added to this tunnel in calls to
315 * connect_by_* calls, (due to misbehaviour, bad performance, ...).
316 *
317 * @param tunnel handle to existing tunnel.
318 * @param peer peer identity of the peer which should be blacklisted
319 * for the tunnel.
320 */
321void
322GNUNET_MESH_peer_blacklist (struct GNUNET_MESH_Tunnel *tunnel,
323 const struct GNUNET_PeerIdentity *peer);
324
325
326/**
314 * Handle for a transmission request. 327 * Handle for a transmission request.
315 */ 328 */
316struct GNUNET_MESH_TransmitHandle; 329struct GNUNET_MESH_TransmitHandle;