diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-11 15:20:28 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-11 15:20:28 +0000 |
commit | a85261acba2c59241458bff597db815de85fa771 (patch) | |
tree | 5308aa2c244b8a62011cb7a0ef1f5f30a96aeb64 /src/mesh/gnunet-service-mesh_connection.h | |
parent | 03b222dc177798ed9448cdeca67ba4051c6397e3 (diff) | |
download | gnunet-a85261acba2c59241458bff597db815de85fa771.tar.gz gnunet-a85261acba2c59241458bff597db815de85fa771.zip |
- backport
Diffstat (limited to 'src/mesh/gnunet-service-mesh_connection.h')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.h b/src/mesh/gnunet-service-mesh_connection.h index b55d55fe6..a617054ff 100644 --- a/src/mesh/gnunet-service-mesh_connection.h +++ b/src/mesh/gnunet-service-mesh_connection.h | |||
@@ -306,6 +306,17 @@ unsigned int | |||
306 | GMC_get_buffer (struct MeshConnection *c, int fwd); | 306 | GMC_get_buffer (struct MeshConnection *c, int fwd); |
307 | 307 | ||
308 | /** | 308 | /** |
309 | * Get how many messages have we allowed to send to us from a direction.. | ||
310 | * | ||
311 | * @param c Connection. | ||
312 | * @param fwd Are we asking about traffic from FWD (BCK messages)? | ||
313 | * | ||
314 | * @return last_ack_sent - last_pid_recv | ||
315 | */ | ||
316 | unsigned int | ||
317 | GMC_get_allowed (struct MeshConnection *c, int fwd); | ||
318 | |||
319 | /** | ||
309 | * Get messages queued in a connection. | 320 | * Get messages queued in a connection. |
310 | * | 321 | * |
311 | * @param c Connection. | 322 | * @param c Connection. |