aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-15 12:55:24 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-15 12:55:24 +0100
commitb03978816ac35a1123456c2d872d4330bfcc3ae1 (patch)
tree9b9a382c6a485af91f88b1bccddcac342f186012 /src/transport/transport-testing2.h
parente57177325f2b3f4d66598ff501760da0030e7dd6 (diff)
downloadgnunet-b03978816ac35a1123456c2d872d4330bfcc3ae1.tar.gz
gnunet-b03978816ac35a1123456c2d872d4330bfcc3ae1.zip
proposed fix for excessive queueing (somehow does not quite work, not sure why)
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r--src/transport/transport-testing2.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/transport/transport-testing2.h b/src/transport/transport-testing2.h
index e7602e3e2..96a08a193 100644
--- a/src/transport/transport-testing2.h
+++ b/src/transport/transport-testing2.h
@@ -181,6 +181,11 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_service_start (
181 void *cb_cls); 181 void *cb_cls);
182 182
183 183
184void
185GNUNET_TRANSPORT_TESTING_transport_communicator_service_stop (
186 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h);
187
188
184/** 189/**
185 * @brief Instruct communicator to open a queue 190 * @brief Instruct communicator to open a queue
186 * 191 *
@@ -202,14 +207,17 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue (struct
202 * @brief Instruct communicator to send data 207 * @brief Instruct communicator to send data
203 * 208 *
204 * @param tc_queue The queue to use for sending 209 * @param tc_queue The queue to use for sending
210 * @param cont function to call when done sending
211 * @param cont_cls closure for @a cont
205 * @param payload Data to send 212 * @param payload Data to send
206 * @param payload_size Size of the payload 213 * @param payload_size Size of the @a payload
207 *
208 * @return Handle to the transmission
209 */ 214 */
210struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission * 215void
211GNUNET_TRANSPORT_TESTING_transport_communicator_send (struct 216GNUNET_TRANSPORT_TESTING_transport_communicator_send (struct
212 GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue 217 GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue
213 *tc_queue, 218 *tc_queue,
219 GNUNET_SCHEDULER_TaskCallback
220 cont,
221 void *cont_cls,
214 const void *payload, 222 const void *payload,
215 size_t payload_size); 223 size_t payload_size);