diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-02 11:27:16 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-02 11:27:43 +0200 |
commit | 3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2 (patch) | |
tree | 44e598cf0c7f40be1d9d28a00a51225bc9223198 /src/testing/testing_trait_core_secret.c | |
parent | 180bd952704ec7661cb7c6a8e3233d86d5e72598 (diff) | |
download | anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.gz anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.bz2 anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.zip |
-doxygen fixes
Diffstat (limited to 'src/testing/testing_trait_core_secret.c')
-rw-r--r-- | src/testing/testing_trait_core_secret.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/testing/testing_trait_core_secret.c b/src/testing/testing_trait_core_secret.c index 100a249..98eb0db 100644 --- a/src/testing/testing_trait_core_secret.c +++ b/src/testing/testing_trait_core_secret.c @@ -29,14 +29,6 @@ #define ANASTASIS_TESTING_TRAIT_CORE_SECRET "anastasis-core-secret" -/** - * Obtain the core secret from @a cmd. - * - * @param cmd command to extract the core secret from. - * @param index the index of the core secret (usually 0) - * @param s[out] set to the core secret coming from @a cmd. - * @return #GNUNET_OK on success. - */ int ANASTASIS_TESTING_get_trait_core_secret (const struct TALER_TESTING_Command *cmd, @@ -50,23 +42,16 @@ ANASTASIS_TESTING_get_trait_core_secret (const struct } -/** - * Offer the core secret. - * - * @param index the core secret's index number (usually 0). - * @param s the core secret to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_core_secret - (unsigned int index, - const void *s) +ANASTASIS_TESTING_make_trait_core_secret (unsigned int index, + const void *s) { struct TALER_TESTING_Trait ret = { .index = index, .trait_name = ANASTASIS_TESTING_TRAIT_CORE_SECRET, .ptr = s }; + return ret; } |