const struct GNUNET_MessageHeader *message);
-/**
- * Track information about payload (useful data) we received from the
- * given address (used to notify ATS about our utilization of
- * allocated resources).
- *
- * @param address the address we got data from
- * @param message the message we received (really only the size is used)
- */
-void
-GST_neighbours_notify_payload_recv (const struct GNUNET_HELLO_Address *address,
- const struct GNUNET_MessageHeader *message);
-
-
/**
* Track information about data we transmitted using the given @a
* address and @a session (used to notify ATS about our utilization of
size_t size);
-/**
- * Track information about payload (useful data) we transmitted using the
- * given address (used to notify ATS about our utilization of
- * allocated resources).
- *
- * @param address the address we transmitted data to
- * @param message the message we sent (really only the size is used)
- */
-void
-GST_neighbours_notify_payload_sent (const struct GNUNET_PeerIdentity *peer,
- size_t size);
-
-
-
/**
* For an existing neighbour record, set the active connection to
* use the given address.
GST_neighbour_get_current_address (const struct GNUNET_PeerIdentity *peer);
+/**
+ * We received a quoat message from the given peer,
+ * validate and process.
+ *
+ * @param peer sender of the message
+ * @param msg the quota message
+ */
+void
+GST_neighbours_handle_quota_message (const struct GNUNET_PeerIdentity *peer,
+ const struct GNUNET_MessageHeader *msg);
+
+
/**
* We received a disconnect message from the given peer,
* validate and process.