summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_json.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-28 17:23:05 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-28 17:23:05 +0200
commit7a1146f147da5446b4b8488cc60d4368aadfe66a (patch)
tree491f2717ee32db73cca774baab3a0c2aa5f517de /src/exchange-lib/testing_api_trait_json.c
parent939c1dd6a57ec0cd93e255a933c5e55bca76f7f5 (diff)
downloadexchange-7a1146f147da5446b4b8488cc60d4368aadfe66a.tar.gz
exchange-7a1146f147da5446b4b8488cc60d4368aadfe66a.tar.bz2
exchange-7a1146f147da5446b4b8488cc60d4368aadfe66a.zip
Commenting the remaining "lib" traits.
Diffstat (limited to 'src/exchange-lib/testing_api_trait_json.c')
-rw-r--r--src/exchange-lib/testing_api_trait_json.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/exchange-lib/testing_api_trait_json.c b/src/exchange-lib/testing_api_trait_json.c
index 40dddbfa3..675be6cf5 100644
--- a/src/exchange-lib/testing_api_trait_json.c
+++ b/src/exchange-lib/testing_api_trait_json.c
@@ -34,11 +34,13 @@
/**
* Obtain wire details from @a cmd.
*
- * @param cmd command to extract trait from
- * @param index always (?) zero, as one command sticks
- * to one bank account
+ * @param cmd command to extract the wire details from.
+ * @param index index number associate with the wire details
+ * on offer; usually zero, as one command sticks to
+ * one bank account.
* @param wire_details[out] where to write the wire details.
- * @return #GNUNET_OK on success
+ *
+ * @return #GNUNET_OK on success.
*/
int
TALER_TESTING_get_trait_wire_details
@@ -55,10 +57,12 @@ TALER_TESTING_get_trait_wire_details
/**
* Offer wire details in a trait.
*
- * @param index always (?) zero, as one command sticks
- * to one bank account
- * @param wire_details wire details to offer
- * @return the trait, to be put in the traits array of the command
+ * @param index index number associate with the wire details
+ * on offer; usually zero, as one command sticks to
+ * one bank account.
+ * @param wire_details wire details to offer.
+ *
+ * @return the trait.
*/
struct TALER_TESTING_Trait
TALER_TESTING_make_trait_wire_details