diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-06-12 15:17:37 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-06-12 15:17:37 +0000 |
commit | 3e07554a8000e87ff6120fea57333585e69367b3 (patch) | |
tree | 52f5167a416add59cb4f6043b5d87de3abe08669 /src/include | |
parent | 8a4d5fd3be81ad5b47807a3ae89ac921864f6017 (diff) | |
download | gnunet-3e07554a8000e87ff6120fea57333585e69367b3.tar.gz gnunet-3e07554a8000e87ff6120fea57333585e69367b3.zip |
- add peer blacklist API
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_mesh_service.h | 13 |
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 | */ | ||
321 | void | ||
322 | GNUNET_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 | */ |
316 | struct GNUNET_MESH_TransmitHandle; | 329 | struct GNUNET_MESH_TransmitHandle; |