diff options
Diffstat (limited to 'src/testing/testing_trait_challenge.c')
-rw-r--r-- | src/testing/testing_trait_challenge.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/testing/testing_trait_challenge.c b/src/testing/testing_trait_challenge.c index 5c40d8e..da981d7 100644 --- a/src/testing/testing_trait_challenge.c +++ b/src/testing/testing_trait_challenge.c @@ -28,14 +28,7 @@ #define ANASTASIS_TESTING_TRAIT_CHALLENGE "anastasis-challenge" -/** - * Obtain a challenge from @a cmd. - * - * @param cmd command to extract the challenge from. - * @param index the index of the challenge - * @param c[out] set to the challenge coming from @a cmd. - * @return #GNUNET_OK on success. - */ + int ANASTASIS_TESTING_get_trait_challenge (const struct TALER_TESTING_Command *cmd, unsigned int index, @@ -48,17 +41,9 @@ ANASTASIS_TESTING_get_trait_challenge (const struct TALER_TESTING_Command *cmd, } -/** - * Offer a challenge. - * - * @param index the challenge index number. - * @param c the challenge to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_challenge - (unsigned int index, - const struct ANASTASIS_Challenge *c) +ANASTASIS_TESTING_make_trait_challenge (unsigned int index, + const struct ANASTASIS_Challenge *c) { struct TALER_TESTING_Trait ret = { .index = index, |