From 3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 2 Aug 2021 11:27:16 +0200 Subject: -doxygen fixes --- src/testing/testing_api_trait_truth_uuid.c | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'src/testing/testing_api_trait_truth_uuid.c') diff --git a/src/testing/testing_api_trait_truth_uuid.c b/src/testing/testing_api_trait_truth_uuid.c index 38a7336..6c171fd 100644 --- a/src/testing/testing_api_trait_truth_uuid.c +++ b/src/testing/testing_api_trait_truth_uuid.c @@ -17,7 +17,7 @@ */ /** - * @file lib/testing_api_trait_truth_pub.c + * @file lib/testing_api_trait_truth_uuid.c * @brief traits to offer a UUID for some truth * @author Christian Grothoff * @author Dominik Meister @@ -26,20 +26,13 @@ #include "platform.h" #include "anastasis_testing_lib.h" + #define ANASTASIS_TESTING_TRAIT_TRUTH_UUID "anastasis-truth-uuid" -/** - * Obtain an public key from @a cmd. - * - * @param cmd command to extract the number from. - * @param index the number's index number. - * @param u[out] set to the number coming from @a cmd. - * @return #GNUNET_OK on success. - */ int -ANASTASIS_TESTING_get_trait_truth_uuid - (const struct TALER_TESTING_Command *cmd, +ANASTASIS_TESTING_get_trait_truth_uuid ( + const struct TALER_TESTING_Command *cmd, unsigned int index, const struct ANASTASIS_CRYPTO_TruthUUIDP **tpk) { @@ -50,16 +43,9 @@ ANASTASIS_TESTING_get_trait_truth_uuid } -/** - * Offer a truth public key. - * - * @param index the number's index number. - * @param tpk the public key to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_truth_uuid - (unsigned int index, +ANASTASIS_TESTING_make_trait_truth_uuid ( + unsigned int index, const struct ANASTASIS_CRYPTO_TruthUUIDP *tpk) { struct TALER_TESTING_Trait ret = { @@ -67,8 +53,9 @@ ANASTASIS_TESTING_make_trait_truth_uuid .trait_name = ANASTASIS_TESTING_TRAIT_TRUTH_UUID, .ptr = (const void *) tpk }; + return ret; } -/* end of testing_api_trait_truth_pub.c */ +/* end of testing_api_trait_truth_uuid.c */ -- cgit v1.2.3