aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing2.h
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-08 12:33:09 +0000
committerng0 <ng0@n0.is>2019-09-08 12:33:09 +0000
commitd41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch)
tree9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/transport/transport-testing2.h
parenta0fce305c565c0937d917a92712f15e9c5736260 (diff)
downloadgnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz
gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip
uncrustify as demanded.
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r--src/transport/transport-testing2.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/src/transport/transport-testing2.h b/src/transport/transport-testing2.h
index fbc1927d9..8954e20d1 100644
--- a/src/transport/transport-testing2.h
+++ b/src/transport/transport-testing2.h
@@ -16,7 +16,7 @@
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file transport/transport-testing2.h 22 * @file transport/transport-testing2.h
@@ -59,9 +59,9 @@ struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission;
59 */ 59 */
60typedef void 60typedef void
61(*GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback)(void *cls, 61(*GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback)(void *cls,
62 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, 62 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h,
63 enum GNUNET_TRANSPORT_CommunicatorCharacteristics cc, 63 enum GNUNET_TRANSPORT_CommunicatorCharacteristics cc,
64 char *address_prefix); 64 char *address_prefix);
65 65
66 66
67/** 67/**
@@ -76,11 +76,11 @@ typedef void
76 */ 76 */
77typedef void 77typedef void
78(*GNUNET_TRANSPORT_TESTING_AddAddressCallback)(void *cls, 78(*GNUNET_TRANSPORT_TESTING_AddAddressCallback)(void *cls,
79 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, 79 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h,
80 const char *address, 80 const char *address,
81 struct GNUNET_TIME_Relative expiration, 81 struct GNUNET_TIME_Relative expiration,
82 uint32_t aid, 82 uint32_t aid,
83 enum GNUNET_NetworkType nt); 83 enum GNUNET_NetworkType nt);
84 84
85 85
86/** 86/**
@@ -92,8 +92,8 @@ typedef void
92 */ 92 */
93typedef void 93typedef void
94(*GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback)(void *cls, 94(*GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback)(void *cls,
95 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, 95 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h,
96 int will_try); 96 int will_try);
97 97
98 98
99/** 99/**
@@ -105,8 +105,8 @@ typedef void
105 */ 105 */
106typedef void 106typedef void
107(*GNUNET_TRANSPORT_TESTING_AddQueueCallback)(void *cls, 107(*GNUNET_TRANSPORT_TESTING_AddQueueCallback)(void *cls,
108 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, 108 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h,
109 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue); 109 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue);
110 110
111 111
112/** 112/**
@@ -118,8 +118,8 @@ typedef void
118 */ 118 */
119typedef void 119typedef void
120(*GNUNET_TRANSPORT_TESTING_IncomingMessageCallback)(void *cls, 120(*GNUNET_TRANSPORT_TESTING_IncomingMessageCallback)(void *cls,
121 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, 121 struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h,
122 const struct GNUNET_MessageHeader *msg); 122 const struct GNUNET_MessageHeader *msg);
123 123
124 124
125/** 125/**
@@ -138,16 +138,16 @@ typedef void
138 * @return Handle to the communicator duo 138 * @return Handle to the communicator duo
139 */ 139 */
140struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle * 140struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *
141GNUNET_TRANSPORT_TESTING_transport_communicator_service_start ( 141GNUNET_TRANSPORT_TESTING_transport_communicator_service_start(
142 const char *service_name, 142 const char *service_name,
143 const char *binary_name, 143 const char *binary_name,
144 const char *cfg_filename, 144 const char *cfg_filename,
145 GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback communicator_available_cb, 145 GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback communicator_available_cb,
146 GNUNET_TRANSPORT_TESTING_AddAddressCallback add_address_cb, 146 GNUNET_TRANSPORT_TESTING_AddAddressCallback add_address_cb,
147 GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback queue_create_reply_cb, 147 GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback queue_create_reply_cb,
148 GNUNET_TRANSPORT_TESTING_AddQueueCallback add_queue_cb, 148 GNUNET_TRANSPORT_TESTING_AddQueueCallback add_queue_cb,
149 GNUNET_TRANSPORT_TESTING_IncomingMessageCallback incoming_message_cb, 149 GNUNET_TRANSPORT_TESTING_IncomingMessageCallback incoming_message_cb,
150 void *cb_cls); 150 void *cb_cls);
151 151
152 152
153/** 153/**
@@ -160,8 +160,8 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_service_start (
160void 160void
161GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue 161GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue
162 (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, 162 (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h,
163 const struct GNUNET_PeerIdentity *peer_id, 163 const struct GNUNET_PeerIdentity *peer_id,
164 const char *address); 164 const char *address);
165 165
166 166
167/** 167/**
@@ -176,8 +176,8 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue
176struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission * 176struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission *
177GNUNET_TRANSPORT_TESTING_transport_communicator_send 177GNUNET_TRANSPORT_TESTING_transport_communicator_send
178 (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue, 178 (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue,
179 const void *payload, 179 const void *payload,
180 size_t payload_size/*, 180 size_t payload_size /*,
181 GNUNET_TRANSPORT_TESTING_SuccessStatus cb, 181 GNUNET_TRANSPORT_TESTING_SuccessStatus cb,
182 void *cb_cls*/); 182 void *cb_cls*/);
183 183