- fix error messages
[oweals/gnunet.git] / src / transport / gnunet-service-transport_manipulation.h
index 091062459d1421b4ae855655559fa3ed879e13ad..4fe68ade16582bca2a042b67c2f8954f1ce93b9e 100644 (file)
 #include "transport.h"
 
 
+/**
+ * Set traffic metric to manipulate
+ *
+ * @param cls closure
+ * @param client client sending message
+ * @param message containing information
+ */
+
 void
 GST_manipulation_set_metric (void *cls, struct GNUNET_SERVER_Client *client,
     const struct GNUNET_MessageHeader *message);
@@ -94,6 +102,14 @@ GST_manipulation_manipulate_metrics (const struct GNUNET_PeerIdentity *peer,
                const struct GNUNET_ATS_Information *ats,
                uint32_t ats_count);
 
+/**
+ * Notify manipulation about disconnect so it can discard queued messages
+ *
+ * @param peer the disconnecting peer
+ */
+void
+GST_manipulation_peer_disconnect (const struct GNUNET_PeerIdentity *peer);
+
 /**
  * Initialize traffic manipulation
  *