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_policy.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_policy.c')
-rw-r--r-- | src/testing/testing_trait_policy.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/testing/testing_trait_policy.c b/src/testing/testing_trait_policy.c index 45e773c..1a6e572 100644 --- a/src/testing/testing_trait_policy.c +++ b/src/testing/testing_trait_policy.c @@ -29,14 +29,6 @@ #define ANASTASIS_TESTING_TRAIT_POLICY "anastasis-policy" -/** - * Obtain a policy from @a cmd. - * - * @param cmd command to extract the policy from. - * @param index the index of the policy - * @param t[out] set to the policy coming from @a cmd. - * @return #GNUNET_OK on success. - */ int ANASTASIS_TESTING_get_trait_policy (const struct TALER_TESTING_Command *cmd, unsigned int index, @@ -49,23 +41,16 @@ ANASTASIS_TESTING_get_trait_policy (const struct TALER_TESTING_Command *cmd, } -/** - * Offer a policy. - * - * @param index the policy's index number. - * @param t the policy to offer. - * @return #GNUNET_OK on success. - */ struct TALER_TESTING_Trait -ANASTASIS_TESTING_make_trait_policy - (unsigned int index, - const struct ANASTASIS_Policy *p) +ANASTASIS_TESTING_make_trait_policy (unsigned int index, + const struct ANASTASIS_Policy *p) { struct TALER_TESTING_Trait ret = { .index = index, .trait_name = ANASTASIS_TESTING_TRAIT_POLICY, .ptr = (const void *) p }; + return ret; } |