gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21919 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r21919 - gnunet/src/include
Date: Tue, 12 Jun 2012 17:17:37 +0200

Author: bartpolot
Date: 2012-06-12 17:17:37 +0200 (Tue, 12 Jun 2012)
New Revision: 21919

Modified:
   gnunet/src/include/gnunet_mesh_service.h
Log:
- add peer blacklist API

Modified: gnunet/src/include/gnunet_mesh_service.h
===================================================================
--- gnunet/src/include/gnunet_mesh_service.h    2012-06-12 15:11:01 UTC (rev 
21918)
+++ gnunet/src/include/gnunet_mesh_service.h    2012-06-12 15:17:37 UTC (rev 
21919)
@@ -311,6 +311,19 @@
 
 
 /**
+ * Request that the given peer isn't added to this tunnel in calls to
+ * connect_by_* calls, (due to misbehaviour, bad performance, ...).
+ *
+ * @param tunnel handle to existing tunnel.
+ * @param peer peer identity of the peer which should be blacklisted
+ *                  for the tunnel.
+ */
+void
+GNUNET_MESH_peer_blacklist (struct GNUNET_MESH_Tunnel *tunnel,
+                            const struct GNUNET_PeerIdentity *peer);
+
+
+/**
  * Handle for a transmission request.
  */
 struct GNUNET_MESH_TransmitHandle;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]