diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-02 15:58:53 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-02 15:58:53 +0200 |
commit | f3ed6ea694e83e45d257fb64b5ae23e73bc81465 (patch) | |
tree | b48275a94cef9962f144bfef9e299c971248b85a /src/testing/testing_api_trait_account_priv.c | |
parent | ed7b39b035fa18b777b71ddc568deff2f7977c82 (diff) | |
download | anastasis-f3ed6ea694e83e45d257fb64b5ae23e73bc81465.tar.gz anastasis-f3ed6ea694e83e45d257fb64b5ae23e73bc81465.tar.bz2 anastasis-f3ed6ea694e83e45d257fb64b5ae23e73bc81465.zip |
misc doxygen fixes
Diffstat (limited to 'src/testing/testing_api_trait_account_priv.c')
-rw-r--r-- | src/testing/testing_api_trait_account_priv.c | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/src/testing/testing_api_trait_account_priv.c b/src/testing/testing_api_trait_account_priv.c index a40e9d2..a666f7a 100644 --- a/src/testing/testing_api_trait_account_priv.c +++ b/src/testing/testing_api_trait_account_priv.c @@ -27,17 +27,9 @@ #define ANASTASIS_TESTING_TRAIT_ACCOUNT_PRIV "anastasis-account_priv" -/** - * Obtain an account private key from @a cmd. - * - * @param cmd command to extract the private key from. - * @param index the private key's index number. - * @param n[out] set to the private key coming from @a cmd. - * @return #GNUNET_OK on success. - */ int -ANASTASIS_TESTING_get_trait_account_priv - (const struct TALER_TESTING_Command *cmd, +ANASTASIS_TESTING_get_trait_account_priv ( + const struct TALER_TESTING_Command *cmd, unsigned int index, const struct ANASTASIS_CRYPTO_AccountPrivateKeyP **priv) { @@ -48,16 +40,9 @@ ANASTASIS_TESTING_get_trait_account_priv } -/** - * Offer an account private key. - * - * @param index usually zero - * @param priv the account_priv to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_account_priv - (unsigned int index, +ANASTASIS_TESTING_make_trait_account_priv ( + unsigned int index, const struct ANASTASIS_CRYPTO_AccountPrivateKeyP *priv) { struct TALER_TESTING_Trait ret = { @@ -65,6 +50,7 @@ ANASTASIS_TESTING_make_trait_account_priv .trait_name = ANASTASIS_TESTING_TRAIT_ACCOUNT_PRIV, .ptr = (const void *) priv }; + return ret; } |