summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-29 12:43:34 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-29 12:43:34 +0200
commit01f933bbdc69388eb6e0c7a476292a9b667d9027 (patch)
tree6ee2094978871ff45e4512a532cefa2ab0264d6a /src
parent3cb0454dc0d123f3a943d787c67cd4bcfb23a325 (diff)
downloadexchange-01f933bbdc69388eb6e0c7a476292a9b667d9027.tar.gz
exchange-01f933bbdc69388eb6e0c7a476292a9b667d9027.tar.bz2
exchange-01f933bbdc69388eb6e0c7a476292a9b667d9027.zip
Get rid of "@param selector".
Diffstat (limited to 'src')
-rw-r--r--src/exchange-lib/testing_api_cmd_bank_check.c6
-rw-r--r--src/exchange-lib/testing_api_cmd_deposit.c6
-rw-r--r--src/exchange-lib/testing_api_cmd_exec_aggregator.c6
-rw-r--r--src/exchange-lib/testing_api_cmd_exec_auditor-sign.c7
-rw-r--r--src/exchange-lib/testing_api_cmd_exec_keyup.c6
-rw-r--r--src/exchange-lib/testing_api_cmd_exec_wirewatch.c6
-rw-r--r--src/exchange-lib/testing_api_cmd_fakebank_transfer.c6
-rw-r--r--src/exchange-lib/testing_api_cmd_payback.c4
-rw-r--r--src/exchange-lib/testing_api_cmd_refresh.c8
-rw-r--r--src/exchange-lib/testing_api_cmd_track.c4
-rw-r--r--src/exchange-lib/testing_api_cmd_withdraw.c4
-rw-r--r--src/exchange-lib/testing_api_traits.c4
-rw-r--r--src/include/taler_testing_lib.h4
13 files changed, 22 insertions, 49 deletions
diff --git a/src/exchange-lib/testing_api_cmd_bank_check.c b/src/exchange-lib/testing_api_cmd_bank_check.c
index c46aa10b..b4f5fff4 100644
--- a/src/exchange-lib/testing_api_cmd_bank_check.c
+++ b/src/exchange-lib/testing_api_cmd_bank_check.c
@@ -193,11 +193,9 @@ check_bank_transfer_cleanup
* Offer internal data from a "bank check" CMD state.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result.
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c
index 70d41a39..9756d0be 100644
--- a/src/exchange-lib/testing_api_cmd_deposit.c
+++ b/src/exchange-lib/testing_api_cmd_deposit.c
@@ -332,11 +332,9 @@ deposit_cleanup (void *cls,
* Offer internal data from a "deposit" CMD, to other commands.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result.
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_exec_aggregator.c b/src/exchange-lib/testing_api_cmd_exec_aggregator.c
index 0de96694..0af39871 100644
--- a/src/exchange-lib/testing_api_cmd_exec_aggregator.c
+++ b/src/exchange-lib/testing_api_cmd_exec_aggregator.c
@@ -111,11 +111,9 @@ aggregator_cleanup (void *cls,
* Offer "aggregator" CMD internal data to other commands.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result.
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success
*/
diff --git a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c
index eed1fcb3..7bbf6d64 100644
--- a/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c
+++ b/src/exchange-lib/testing_api_cmd_exec_auditor-sign.c
@@ -168,12 +168,9 @@ auditor_sign_cleanup (void *cls,
* Offer "auditor sign" CMD internal data to other commands.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result.
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
- *
+ * @param index index number of the object to offer.
* @return #GNUNET_OK on success.
*/
static int
diff --git a/src/exchange-lib/testing_api_cmd_exec_keyup.c b/src/exchange-lib/testing_api_cmd_exec_keyup.c
index 6b2c81ea..eab7604e 100644
--- a/src/exchange-lib/testing_api_cmd_exec_keyup.c
+++ b/src/exchange-lib/testing_api_cmd_exec_keyup.c
@@ -113,11 +113,9 @@ keyup_cleanup (void *cls,
* Offer "keyup" CMD internal data to other commands.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_exec_wirewatch.c b/src/exchange-lib/testing_api_cmd_exec_wirewatch.c
index aebf46e2..0953f24b 100644
--- a/src/exchange-lib/testing_api_cmd_exec_wirewatch.c
+++ b/src/exchange-lib/testing_api_cmd_exec_wirewatch.c
@@ -112,11 +112,9 @@ wirewatch_cleanup (void *cls,
* Offer "wirewatch" CMD internal data to other commands.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result.
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c
index 5cf2c4ac..cdf35993 100644
--- a/src/exchange-lib/testing_api_cmd_fakebank_transfer.c
+++ b/src/exchange-lib/testing_api_cmd_fakebank_transfer.c
@@ -330,11 +330,9 @@ fakebank_transfer_cleanup (void *cls,
* commands.
*
* @param cls closure.
- * @param ret[out] result (could be anything).
+ * @param ret[out] result
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_payback.c b/src/exchange-lib/testing_api_cmd_payback.c
index c60ac1d6..8d0dfb95 100644
--- a/src/exchange-lib/testing_api_cmd_payback.c
+++ b/src/exchange-lib/testing_api_cmd_payback.c
@@ -342,9 +342,7 @@ payback_cleanup (void *cls,
* @param cls closure
* @param ret[out] result (could be anything)
* @param trait name of the trait
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command
+ * @param index index number of the object to offer.
* @return #GNUNET_OK on success
*/
static int
diff --git a/src/exchange-lib/testing_api_cmd_refresh.c b/src/exchange-lib/testing_api_cmd_refresh.c
index 56b93c1e..28be0374 100644
--- a/src/exchange-lib/testing_api_cmd_refresh.c
+++ b/src/exchange-lib/testing_api_cmd_refresh.c
@@ -826,9 +826,7 @@ refresh_melt_cleanup (void *cls,
* @param cls closure.
* @param ret[out] result (could be anything).
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
@@ -945,9 +943,7 @@ TALER_TESTING_cmd_refresh_melt_double
* @param cls closure.
* @param ret[out] result (could be anything).
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_track.c b/src/exchange-lib/testing_api_cmd_track.c
index 8d9f9edd..789b30b9 100644
--- a/src/exchange-lib/testing_api_cmd_track.c
+++ b/src/exchange-lib/testing_api_cmd_track.c
@@ -385,9 +385,7 @@ track_transaction_cleanup
* @param cls closure.
* @param ret[out] result (could be anything).
* @param trait name of the trait.
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command.
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success.
*/
diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c
index 456ac6bd..1ee0e3b5 100644
--- a/src/exchange-lib/testing_api_cmd_withdraw.c
+++ b/src/exchange-lib/testing_api_cmd_withdraw.c
@@ -246,9 +246,7 @@ withdraw_cleanup (void *cls,
* @param cls closure
* @param ret[out] result (could be anything)
* @param trait name of the trait
- * @param selector more detailed information about which object
- * to return in case there were multiple generated
- * by the command
+ * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success
*/
diff --git a/src/exchange-lib/testing_api_traits.c b/src/exchange-lib/testing_api_traits.c
index 3e6aedda..81f96b8f 100644
--- a/src/exchange-lib/testing_api_traits.c
+++ b/src/exchange-lib/testing_api_traits.c
@@ -51,8 +51,8 @@ TALER_TESTING_trait_end ()
*
* @param traits the traits array.
* @param ret where to store the result.
- * @param selector which particular object in the trait should be
- * returned.
+ * @param trait type of the trait to extract.
+ * @param index index number of the object to extract.
*
* @return GNUNET_OK if no error occurred, GNUNET_SYSERR otherwise.
*/
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 5997f898..428bcb78 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -291,9 +291,7 @@ struct TALER_TESTING_Command
* @param cls closure
* @param ret[out] result (could be anything)
* @param trait name of the trait
- * @param selector more detailed information about which object
- * to return in case there were multiple
- * generated by the command
+ * @param index index number of the object to extract.
* @return #GNUNET_OK on success
*/
int