summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-01 16:39:35 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-06-01 16:39:35 +0200
commit198c09654354d09a9b33f27cf095e0295f70826c (patch)
tree07aa088c8e9664dc76915cc6b664654da59359f4 /src/transport/transport-testing2.h
parenta325c3eaa8450d325fe57959eac29da5496cfd6d (diff)
tng: more UDP communicator backchannels
Added a new message for queue updates to indicate queue length. Queues now may also have a priority parameter.
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r--src/transport/transport-testing2.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/transport-testing2.h b/src/transport/transport-testing2.h
index 7a449f081..b77125e82 100644
--- a/src/transport/transport-testing2.h
+++ b/src/transport/transport-testing2.h
@@ -132,7 +132,8 @@ typedef void
*tc_h,
struct
GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue
- *tc_queue);
+ *tc_queue,
+ size_t mtu);
/**
@@ -215,8 +216,8 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue (struct
*/
void
GNUNET_TRANSPORT_TESTING_transport_communicator_send (struct
- GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue
- *tc_queue,
+ GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle
+ *tc_h,
GNUNET_SCHEDULER_TaskCallback
cont,
void *cont_cls,