*
* @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
typedef void (*GST_NeighbourIterator) (void *cls,
const struct GNUNET_PeerIdentity *
neighbour,
- const struct GNUNET_ATS_Information *
- ats, uint32_t ats_count,
const struct GNUNET_HELLO_Address *
address,
struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in,
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.