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_api_trait_truth_uuid.c | |
parent | 180bd952704ec7661cb7c6a8e3233d86d5e72598 (diff) | |
download | anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.gz anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.bz2 anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.zip |
-doxygen fixes
Diffstat (limited to 'src/testing/testing_api_trait_truth_uuid.c')
-rw-r--r-- | src/testing/testing_api_trait_truth_uuid.c | 29 |
1 files changed, 8 insertions, 21 deletions
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 @@ <http://www.gnu.org/licenses/> */ /** - * @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 */ |