summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_serialize_keys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 13:57:47 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 13:58:42 +0100
commit0b4008bd84f9812eac943e616a4584a0f9b23ae1 (patch)
tree4af665fff668f78091e21a9cd89a1454a562018e /src/lib/testing_api_cmd_serialize_keys.c
parent4993863c4cc7e7758f8532ea90253cc60c3358fa (diff)
downloadexchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.tar.gz
exchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.tar.bz2
exchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.zip
doxygen
Diffstat (limited to 'src/lib/testing_api_cmd_serialize_keys.c')
-rw-r--r--src/lib/testing_api_cmd_serialize_keys.c44
1 files changed, 22 insertions, 22 deletions
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
<http://www.gnu.org/licenses/>
*/
-
/**
* @file lib/testing_api_cmd_serialize_keys.c
* @brief Lets tests use the keys serialization API.
* @author Marcello Stanisci
*/
-
#include "platform.h"
#include <jansson.h>
#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;
+ }
}