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_account_pub.c | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'src/testing/testing_api_trait_account_pub.c') diff --git a/src/testing/testing_api_trait_account_pub.c b/src/testing/testing_api_trait_account_pub.c index 19ba79f..9a6a45a 100644 --- a/src/testing/testing_api_trait_account_pub.c +++ b/src/testing/testing_api_trait_account_pub.c @@ -27,17 +27,9 @@ #define ANASTASIS_TESTING_TRAIT_ACCOUNT_PUB "anastasis-account_pub" -/** - * Obtain an account public key from @a cmd. - * - * @param cmd command to extract the public key from. - * @param index the public key's index number. - * @param n[out] set to the public key coming from @a cmd. - * @return #GNUNET_OK on success. - */ int -ANASTASIS_TESTING_get_trait_account_pub - (const struct TALER_TESTING_Command *cmd, +ANASTASIS_TESTING_get_trait_account_pub ( + const struct TALER_TESTING_Command *cmd, unsigned int index, const struct ANASTASIS_CRYPTO_AccountPublicKeyP **pub) { @@ -48,16 +40,9 @@ ANASTASIS_TESTING_get_trait_account_pub } -/** - * Offer an account public key. - * - * @param index usually zero - * @param h the account_pub to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_account_pub - (unsigned int index, +ANASTASIS_TESTING_make_trait_account_pub ( + unsigned int index, const struct ANASTASIS_CRYPTO_AccountPublicKeyP *h) { struct TALER_TESTING_Trait ret = { @@ -65,6 +50,7 @@ ANASTASIS_TESTING_make_trait_account_pub .trait_name = ANASTASIS_TESTING_TRAIT_ACCOUNT_PUB, .ptr = (const void *) h }; + return ret; } -- cgit v1.2.3