summaryrefslogtreecommitdiff
path: root/src/testing/testing_trait_truth.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-02 11:27:16 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-02 11:27:43 +0200
commit3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2 (patch)
tree44e598cf0c7f40be1d9d28a00a51225bc9223198 /src/testing/testing_trait_truth.c
parent180bd952704ec7661cb7c6a8e3233d86d5e72598 (diff)
downloadanastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.gz
anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.tar.bz2
anastasis-3e8be4c4f824a09df14734ac4ccb9bcc5b2535d2.zip
-doxygen fixes
Diffstat (limited to 'src/testing/testing_trait_truth.c')
-rw-r--r--src/testing/testing_trait_truth.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/testing/testing_trait_truth.c b/src/testing/testing_trait_truth.c
index 51696e1..36b33d6 100644
--- a/src/testing/testing_trait_truth.c
+++ b/src/testing/testing_trait_truth.c
@@ -29,14 +29,6 @@
#define ANASTASIS_TESTING_TRAIT_TRUTH "anastasis-truth"
-/**
- * Obtain a truth from @a cmd.
- *
- * @param cmd command to extract the truth from.
- * @param index the index of the truth
- * @param t[out] set to the truth coming from @a cmd.
- * @return #GNUNET_OK on success.
- */
int
ANASTASIS_TESTING_get_trait_truth (const struct TALER_TESTING_Command *cmd,
unsigned int index,
@@ -49,23 +41,16 @@ ANASTASIS_TESTING_get_trait_truth (const struct TALER_TESTING_Command *cmd,
}
-/**
- * Offer a truth.
- *
- * @param index the truth's index number.
- * @param t the truth to offer.
- * @return #GNUNET_OK on success.
- */
struct TALER_TESTING_Trait
-ANASTASIS_TESTING_make_trait_truth
- (unsigned int index,
- const struct ANASTASIS_Truth *t)
+ANASTASIS_TESTING_make_trait_truth (unsigned int index,
+ const struct ANASTASIS_Truth *t)
{
struct TALER_TESTING_Trait ret = {
.index = index,
.trait_name = ANASTASIS_TESTING_TRAIT_TRUTH,
.ptr = (const void *) t
};
+
return ret;
}