From 0b4008bd84f9812eac943e616a4584a0f9b23ae1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jan 2020 13:57:47 +0100 Subject: doxygen --- src/lib/testing_api_cmd_serialize_keys.c | 44 ++++++++++++++++---------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/lib/testing_api_cmd_serialize_keys.c') diff --git a/src/lib/testing_api_cmd_serialize_keys.c b/src/lib/testing_api_cmd_serialize_keys.c index ab527c8d4..e18a25b77 100644 --- a/src/lib/testing_api_cmd_serialize_keys.c +++ b/src/lib/testing_api_cmd_serialize_keys.c @@ -16,13 +16,11 @@ License along with TALER; see the file COPYING. If not, see */ - /** * @file lib/testing_api_cmd_serialize_keys.c * @brief Lets tests use the keys serialization API. * @author Marcello Stanisci */ - #include "platform.h" #include #include "exchange_api_handle.h" @@ -129,10 +127,9 @@ serialize_keys_cleanup (void *cls, * Offer serialized keys as trait. * * @param cls closure. - * @param ret[out] result. + * @param[out] ret result. * @param trait name of the trait. * @param index index number of the object to offer. - * * @return #GNUNET_OK on success. */ static int @@ -253,15 +250,17 @@ TALER_TESTING_cmd_serialize_keys (const char *label) struct SerializeKeysState *sks; sks = GNUNET_new (struct SerializeKeysState); - struct TALER_TESTING_Command cmd = { - .cls = sks, - .label = label, - .run = serialize_keys_run, - .cleanup = serialize_keys_cleanup, - .traits = serialize_keys_traits - }; - - return cmd; + { + struct TALER_TESTING_Command cmd = { + .cls = sks, + .label = label, + .run = serialize_keys_run, + .cleanup = serialize_keys_cleanup, + .traits = serialize_keys_traits + }; + + return cmd; + } } @@ -284,13 +283,14 @@ TALER_TESTING_cmd_connect_with_state (const char *label, cwss = GNUNET_new (struct ConnectWithStateState); cwss->state_reference = state_reference; cwss->consumed = GNUNET_NO; - - struct TALER_TESTING_Command cmd = { - .cls = cwss, - .label = label, - .run = connect_with_state_run, - .cleanup = connect_with_state_cleanup - }; - - return cmd; + { + struct TALER_TESTING_Command cmd = { + .cls = cwss, + .label = label, + .run = connect_with_state_run, + .cleanup = connect_with_state_cleanup + }; + + return cmd; + } } -- cgit v1.2.3