diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-02 00:05:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-02 00:05:42 +0000 |
commit | 87d015d6fb1a435d5d5b6ff62983fce6ba4cf2ef (patch) | |
tree | 8eae192cf4281ab6687d437a7f18053a8944df6c /src/transport/gnunet-service-transport_neighbours.h | |
parent | 4bee6d11ba8ac5554e906d60b0fce0ed2a737a97 (diff) | |
download | gnunet-87d015d6fb1a435d5d5b6ff62983fce6ba4cf2ef.tar.gz gnunet-87d015d6fb1a435d5d5b6ff62983fce6ba4cf2ef.zip |
define quota message to transmit quota requests, towards addressing #3652
Diffstat (limited to 'src/transport/gnunet-service-transport_neighbours.h')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.h b/src/transport/gnunet-service-transport_neighbours.h index 070ee01a9..c92209d81 100644 --- a/src/transport/gnunet-service-transport_neighbours.h +++ b/src/transport/gnunet-service-transport_neighbours.h | |||
@@ -307,6 +307,18 @@ GST_neighbour_get_current_address (const struct GNUNET_PeerIdentity *peer); | |||
307 | 307 | ||
308 | 308 | ||
309 | /** | 309 | /** |
310 | * We received a quoat message from the given peer, | ||
311 | * validate and process. | ||
312 | * | ||
313 | * @param peer sender of the message | ||
314 | * @param msg the quota message | ||
315 | */ | ||
316 | void | ||
317 | GST_neighbours_handle_quota_message (const struct GNUNET_PeerIdentity *peer, | ||
318 | const struct GNUNET_MessageHeader *msg); | ||
319 | |||
320 | |||
321 | /** | ||
310 | * We received a disconnect message from the given peer, | 322 | * We received a disconnect message from the given peer, |
311 | * validate and process. | 323 | * validate and process. |
312 | * | 324 | * |