diff options
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r-- | src/transport/transport-testing2.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/transport/transport-testing2.h b/src/transport/transport-testing2.h index 6aee919cd..4b9eb0f54 100644 --- a/src/transport/transport-testing2.h +++ b/src/transport/transport-testing2.h | |||
@@ -32,6 +32,10 @@ | |||
32 | 32 | ||
33 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle; | 33 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle; |
34 | 34 | ||
35 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue; | ||
36 | |||
37 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission; | ||
38 | |||
35 | /** | 39 | /** |
36 | * @brief Function signature for callbacks that are called when new communicators become available | 40 | * @brief Function signature for callbacks that are called when new communicators become available |
37 | * | 41 | * |
@@ -62,7 +66,8 @@ typedef void | |||
62 | 66 | ||
63 | typedef void | 67 | typedef void |
64 | (*GNUNET_TRANSPORT_TESTING_AddQueueCallback)(void *cls, | 68 | (*GNUNET_TRANSPORT_TESTING_AddQueueCallback)(void *cls, |
65 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h); | 69 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, |
70 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue); | ||
66 | 71 | ||
67 | 72 | ||
68 | /** | 73 | /** |
@@ -92,9 +97,11 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue | |||
92 | const struct GNUNET_PeerIdentity *peer_id, | 97 | const struct GNUNET_PeerIdentity *peer_id, |
93 | const char *address); | 98 | const char *address); |
94 | 99 | ||
95 | //struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission * | 100 | struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission * |
96 | //GNUNET_TRANSPORT_TESTING_transport_communicator_send | 101 | GNUNET_TRANSPORT_TESTING_transport_communicator_send |
97 | // (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tcq, | 102 | (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue, |
98 | // const struct GNUNET_MessageHeader *hdr, | 103 | const void *payload, |
99 | // GNUNET_TRANSPORT_TESTING_SuccessStatus cb, void *cb_cls); | 104 | size_t payload_size/*, |
105 | GNUNET_TRANSPORT_TESTING_SuccessStatus cb, | ||
106 | void *cb_cls*/); | ||
100 | 107 | ||