(no commit message)
[oweals/gnunet.git] / src / transport / gnunet-service-transport_neighbours.h
index fbf7d7819f62b82543781c4f9c2967b4f4b039a0..4875dd6d62234ead4883fe89b96e468348434c2f 100644 (file)
@@ -168,8 +168,6 @@ GST_neighbours_force_disconnect (const struct GNUNET_PeerIdentity *target);
  *
  * @param cls closure
  * @param neighbour identity of the neighbour
- * @param ats performance data
- * @param ats_count number of entries in ats (including 0-termination)
  * @param address the address (or NULL)
  * @param bandwidth_in inbound quota in NBO
  * @param bandwidth_out outbound quota in NBO
@@ -206,6 +204,26 @@ GST_neighbours_session_terminated (const struct GNUNET_PeerIdentity *peer,
                                    struct Session *session);
 
 
+void
+GST_neighbours_notify_data_recv (const struct GNUNET_PeerIdentity *peer,
+                 const struct GNUNET_HELLO_Address *address,
+                 struct Session *session,
+                 const struct GNUNET_MessageHeader *message);
+
+void
+GST_neighbours_notify_payload_recv (const struct GNUNET_PeerIdentity *peer,
+                 const struct GNUNET_HELLO_Address *address,
+                 struct Session *session,
+                 const struct GNUNET_MessageHeader *message);
+
+void
+GST_neighbours_notify_payload_sent (const struct GNUNET_PeerIdentity *peer,
+    size_t size);
+
+void
+GST_neighbours_notify_data_sent (const struct GNUNET_PeerIdentity *peer,
+    size_t size);
+
 /**
  * For an existing neighbour record, set the active connection to
  * use the given address.