diff options
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r-- | src/transport/transport-testing2.h | 16 |
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 | ||
184 | void | ||
185 | GNUNET_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 | */ |
210 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission * | 215 | void |
211 | GNUNET_TRANSPORT_TESTING_transport_communicator_send (struct | 216 | GNUNET_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); |