diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/transport/transport-testing2.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) |
uncrustify as demanded.
Diffstat (limited to 'src/transport/transport-testing2.h')
-rw-r--r-- | src/transport/transport-testing2.h | 62 |
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 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. 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*/); |