From d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 8 Sep 2019 12:33:09 +0000 Subject: uncrustify as demanded. --- src/transport/transport-testing2.h | 62 +++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'src/transport/transport-testing2.h') 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 @@ along with this program. If not, see . SPDX-License-Identifier: AGPL3.0-or-later -*/ + */ /** * @file transport/transport-testing2.h @@ -59,9 +59,9 @@ struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission; */ typedef void (*GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback)(void *cls, - struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, - enum GNUNET_TRANSPORT_CommunicatorCharacteristics cc, - char *address_prefix); + struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, + enum GNUNET_TRANSPORT_CommunicatorCharacteristics cc, + char *address_prefix); /** @@ -76,11 +76,11 @@ typedef void */ typedef void (*GNUNET_TRANSPORT_TESTING_AddAddressCallback)(void *cls, - struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, - const char *address, - struct GNUNET_TIME_Relative expiration, - uint32_t aid, - enum GNUNET_NetworkType nt); + struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, + const char *address, + struct GNUNET_TIME_Relative expiration, + uint32_t aid, + enum GNUNET_NetworkType nt); /** @@ -92,8 +92,8 @@ typedef void */ typedef void (*GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback)(void *cls, - struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, - int will_try); + struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, + int will_try); /** @@ -105,8 +105,8 @@ typedef void */ typedef void (*GNUNET_TRANSPORT_TESTING_AddQueueCallback)(void *cls, - struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, - struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue); + struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, + struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue); /** @@ -118,8 +118,8 @@ typedef void */ typedef void (*GNUNET_TRANSPORT_TESTING_IncomingMessageCallback)(void *cls, - struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, - const struct GNUNET_MessageHeader *msg); + struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, + const struct GNUNET_MessageHeader *msg); /** @@ -138,16 +138,16 @@ typedef void * @return Handle to the communicator duo */ struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle * -GNUNET_TRANSPORT_TESTING_transport_communicator_service_start ( - const char *service_name, - const char *binary_name, - const char *cfg_filename, - GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback communicator_available_cb, - GNUNET_TRANSPORT_TESTING_AddAddressCallback add_address_cb, - GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback queue_create_reply_cb, - GNUNET_TRANSPORT_TESTING_AddQueueCallback add_queue_cb, - GNUNET_TRANSPORT_TESTING_IncomingMessageCallback incoming_message_cb, - void *cb_cls); +GNUNET_TRANSPORT_TESTING_transport_communicator_service_start( + const char *service_name, + const char *binary_name, + const char *cfg_filename, + GNUNET_TRANSPORT_TESTING_CommunicatorAvailableCallback communicator_available_cb, + GNUNET_TRANSPORT_TESTING_AddAddressCallback add_address_cb, + GNUNET_TRANSPORT_TESTING_QueueCreateReplyCallback queue_create_reply_cb, + GNUNET_TRANSPORT_TESTING_AddQueueCallback add_queue_cb, + GNUNET_TRANSPORT_TESTING_IncomingMessageCallback incoming_message_cb, + void *cb_cls); /** @@ -160,8 +160,8 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_service_start ( void GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorHandle *tc_h, - const struct GNUNET_PeerIdentity *peer_id, - const char *address); + const struct GNUNET_PeerIdentity *peer_id, + const char *address); /** @@ -176,8 +176,8 @@ GNUNET_TRANSPORT_TESTING_transport_communicator_open_queue struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorTransmission * GNUNET_TRANSPORT_TESTING_transport_communicator_send (struct GNUNET_TRANSPORT_TESTING_TransportCommunicatorQueue *tc_queue, - const void *payload, - size_t payload_size/*, - GNUNET_TRANSPORT_TESTING_SuccessStatus cb, - void *cb_cls*/); + const void *payload, + size_t payload_size /*, + GNUNET_TRANSPORT_TESTING_SuccessStatus cb, + void *cb_cls*/); -- cgit v1.2.3