summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-25 11:12:30 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-25 11:12:30 +0200
commitc97c4128593fb777434e3700e5d87ce9e76458d3 (patch)
tree5a9a449eddeafaf8466d8d30dc63bb5b131e3ed9 /src/lib
parentc99d335943b03ee33b4c87d83c5e70737c9de63c (diff)
downloadmerchant-c97c4128593fb777434e3700e5d87ce9e76458d3.tar.gz
merchant-c97c4128593fb777434e3700e5d87ce9e76458d3.tar.bz2
merchant-c97c4128593fb777434e3700e5d87ce9e76458d3.zip
Commenting refund traits.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/testing_api_trait_planchet.c2
-rw-r--r--src/lib/testing_api_trait_refund_entry.c10
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 @@
* @param cmd command to extract trait from.
* @param index index of the trait.
* @param planchet_secrets[out] set to the wanted secrets.
+ *
* @return #GNUNET_OK on success
*/
int
@@ -53,6 +54,7 @@ TALER_TESTING_get_trait_planchet_secrets
*
* @param index of the trait.
* @param planchet_secrets set to the offered secrets.
+ *
* @return the trait
*/
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 @@
/**
* Obtain refund entry from a @a cmd.
*
- * @param cmd command to extract trait from
- * @param index which signature to pick if @a cmd has multiple
- * on offer
+ * @param cmd command to extract the trait from.
+ * @param index the trait index.
* @param refund_entry[out] set to the wanted data.
+ *
* @return #GNUNET_OK on success
*/
int
@@ -55,9 +55,9 @@ TALER_TESTING_get_trait_refund_entry
/**
* Offer refund entry.
*
- * @param index which tip id to offer if there are
- * multiple on offer
+ * @param index index number of the trait to offer.
* @param refund_entry set to the offered refund entry.
+ *
* @return the trait
*/
struct TALER_TESTING_Trait