diff options
Diffstat (limited to 'src/testing/testing_trait_truth.c')
-rw-r--r-- | src/testing/testing_trait_truth.c | 21 |
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; } |