From f3ed6ea694e83e45d257fb64b5ae23e73bc81465 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 2 Aug 2021 15:58:53 +0200 Subject: misc doxygen fixes --- src/testing/testing_api_trait_code.c | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) (limited to 'src/testing/testing_api_trait_code.c') diff --git a/src/testing/testing_api_trait_code.c b/src/testing/testing_api_trait_code.c index 9989dec..5892065 100644 --- a/src/testing/testing_api_trait_code.c +++ b/src/testing/testing_api_trait_code.c @@ -17,7 +17,7 @@ */ /** - * @file testing/testing_api_trait_string.c + * @file testing/testing_api_trait_code.c * @brief traits to offers a code for a challenge * @author Dominik Meister * @author Christian Grothoff @@ -28,17 +28,9 @@ #define ANASTASIS_TESTING_TRAIT_CODE "anastasis-code" -/** - * Obtain a code from @a cmd. - * - * @param cmd command to extract the number from. - * @param index the number's index number. - * @param n[out] set to the number coming from @a cmd. - * @return #GNUNET_OK on success. - */ int -ANASTASIS_TESTING_get_trait_code - (const struct TALER_TESTING_Command *cmd, +ANASTASIS_TESTING_get_trait_code ( + const struct TALER_TESTING_Command *cmd, unsigned int index, const char **code) { @@ -49,16 +41,9 @@ ANASTASIS_TESTING_get_trait_code } -/** - * Offer a code. - * - * @param index the number's index number. - * @param code the code to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_code - (unsigned int index, +ANASTASIS_TESTING_make_trait_code ( + unsigned int index, const char *code) { struct TALER_TESTING_Trait ret = { @@ -66,8 +51,9 @@ ANASTASIS_TESTING_make_trait_code .trait_name = ANASTASIS_TESTING_TRAIT_CODE, .ptr = (const void *) code }; + return ret; } -/* end of testing_api_trait_string.c */ +/* end of testing_api_trait_code.c */ -- cgit v1.2.3