diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-25 11:12:30 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-25 11:12:30 +0200 |
commit | c97c4128593fb777434e3700e5d87ce9e76458d3 (patch) | |
tree | 5a9a449eddeafaf8466d8d30dc63bb5b131e3ed9 | |
parent | c99d335943b03ee33b4c87d83c5e70737c9de63c (diff) | |
download | merchant-c97c4128593fb777434e3700e5d87ce9e76458d3.tar.gz merchant-c97c4128593fb777434e3700e5d87ce9e76458d3.zip |
Commenting refund traits.
-rw-r--r-- | src/lib/testing_api_trait_planchet.c | 2 | ||||
-rw-r--r-- | src/lib/testing_api_trait_refund_entry.c | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/testing_api_trait_planchet.c b/src/lib/testing_api_trait_planchet.c index 7a8fdddf..8a20188f 100644 --- a/src/lib/testing_api_trait_planchet.c +++ b/src/lib/testing_api_trait_planchet.c | |||
@@ -34,6 +34,7 @@ | |||
34 | * @param cmd command to extract trait from. | 34 | * @param cmd command to extract trait from. |
35 | * @param index index of the trait. | 35 | * @param index index of the trait. |
36 | * @param planchet_secrets[out] set to the wanted secrets. | 36 | * @param planchet_secrets[out] set to the wanted secrets. |
37 | * | ||
37 | * @return #GNUNET_OK on success | 38 | * @return #GNUNET_OK on success |
38 | */ | 39 | */ |
39 | int | 40 | int |
@@ -53,6 +54,7 @@ TALER_TESTING_get_trait_planchet_secrets | |||
53 | * | 54 | * |
54 | * @param index of the trait. | 55 | * @param index of the trait. |
55 | * @param planchet_secrets set to the offered secrets. | 56 | * @param planchet_secrets set to the offered secrets. |
57 | * | ||
56 | * @return the trait | 58 | * @return the trait |
57 | */ | 59 | */ |
58 | struct TALER_TESTING_Trait | 60 | struct TALER_TESTING_Trait |
diff --git a/src/lib/testing_api_trait_refund_entry.c b/src/lib/testing_api_trait_refund_entry.c index c5728b92..2ba1a90f 100644 --- a/src/lib/testing_api_trait_refund_entry.c +++ b/src/lib/testing_api_trait_refund_entry.c | |||
@@ -34,10 +34,10 @@ | |||
34 | /** | 34 | /** |
35 | * Obtain refund entry from a @a cmd. | 35 | * Obtain refund entry from a @a cmd. |
36 | * | 36 | * |
37 | * @param cmd command to extract trait from | 37 | * @param cmd command to extract the trait from. |
38 | * @param index which signature to pick if @a cmd has multiple | 38 | * @param index the trait index. |
39 | * on offer | ||
40 | * @param refund_entry[out] set to the wanted data. | 39 | * @param refund_entry[out] set to the wanted data. |
40 | * | ||
41 | * @return #GNUNET_OK on success | 41 | * @return #GNUNET_OK on success |
42 | */ | 42 | */ |
43 | int | 43 | int |
@@ -55,9 +55,9 @@ TALER_TESTING_get_trait_refund_entry | |||
55 | /** | 55 | /** |
56 | * Offer refund entry. | 56 | * Offer refund entry. |
57 | * | 57 | * |
58 | * @param index which tip id to offer if there are | 58 | * @param index index number of the trait to offer. |
59 | * multiple on offer | ||
60 | * @param refund_entry set to the offered refund entry. | 59 | * @param refund_entry set to the offered refund entry. |
60 | * | ||
61 | * @return the trait | 61 | * @return the trait |
62 | */ | 62 | */ |
63 | struct TALER_TESTING_Trait | 63 | struct TALER_TESTING_Trait |