summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_refresh.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_refresh.c
parent4993863c4cc7e7758f8532ea90253cc60c3358fa (diff)
downloadexchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.tar.gz
exchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.tar.bz2
exchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.zip
doxygen
Diffstat (limited to 'src/lib/testing_api_cmd_refresh.c')
-rw-r--r--src/lib/testing_api_cmd_refresh.c35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/lib/testing_api_cmd_refresh.c b/src/lib/testing_api_cmd_refresh.c
index 64215e581..da9f7c051 100644
--- a/src/lib/testing_api_cmd_refresh.c
+++ b/src/lib/testing_api_cmd_refresh.c
@@ -1063,7 +1063,7 @@ refresh_melt_cleanup (void *cls,
* Offer internal data to the "refresh melt" CMD.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param[out] ret result (could be anything).
* @param trait name of the trait.
* @param index index number of the object to offer.
* @return #GNUNET_OK on success.
@@ -1254,7 +1254,7 @@ TALER_TESTING_cmd_refresh_melt_with_retry (struct TALER_TESTING_Command cmd)
* Offer internal data from a "refresh reveal" CMD.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param[out] ret result (could be anything).
* @param trait name of the trait.
* @param index index number of the object to offer.
*
@@ -1322,10 +1322,9 @@ refresh_reveal_traits (void *cls,
* @return the command.
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_refresh_reveal
- (const char *label,
- const char *melt_reference,
- unsigned int expected_response_code)
+TALER_TESTING_cmd_refresh_reveal (const char *label,
+ const char *melt_reference,
+ unsigned int expected_response_code)
{
struct RefreshRevealState *rrs;
@@ -1374,25 +1373,25 @@ TALER_TESTING_cmd_refresh_reveal_with_retry (struct TALER_TESTING_Command cmd)
* @return the "refresh link" command
*/
struct TALER_TESTING_Command
-TALER_TESTING_cmd_refresh_link
- (const char *label,
- const char *reveal_reference,
- unsigned int expected_response_code)
+TALER_TESTING_cmd_refresh_link (const char *label,
+ const char *reveal_reference,
+ unsigned int expected_response_code)
{
struct RefreshLinkState *rrs;
rrs = GNUNET_new (struct RefreshLinkState);
rrs->reveal_reference = reveal_reference;
rrs->expected_response_code = expected_response_code;
+ {
+ struct TALER_TESTING_Command cmd = {
+ .cls = rrs,
+ .label = label,
+ .run = &refresh_link_run,
+ .cleanup = &refresh_link_cleanup
+ };
- struct TALER_TESTING_Command cmd = {
- .cls = rrs,
- .label = label,
- .run = &refresh_link_run,
- .cleanup = &refresh_link_cleanup
- };
-
- return cmd;
+ return cmd;
+ }
}