From 01f933bbdc69388eb6e0c7a476292a9b667d9027 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 29 May 2018 12:43:34 +0200 Subject: Get rid of "@param selector". --- src/exchange-lib/testing_api_cmd_bank_check.c | 6 ++---- src/exchange-lib/testing_api_cmd_deposit.c | 6 ++---- src/exchange-lib/testing_api_cmd_exec_aggregator.c | 6 ++---- src/exchange-lib/testing_api_cmd_exec_auditor-sign.c | 7 ++----- src/exchange-lib/testing_api_cmd_exec_keyup.c | 6 ++---- src/exchange-lib/testing_api_cmd_exec_wirewatch.c | 6 ++---- src/exchange-lib/testing_api_cmd_fakebank_transfer.c | 6 ++---- src/exchange-lib/testing_api_cmd_payback.c | 4 +--- src/exchange-lib/testing_api_cmd_refresh.c | 8 ++------ src/exchange-lib/testing_api_cmd_track.c | 4 +--- src/exchange-lib/testing_api_cmd_withdraw.c | 4 +--- src/exchange-lib/testing_api_traits.c | 4 ++-- src/include/taler_testing_lib.h | 4 +--- 13 files changed, 22 insertions(+), 49 deletions(-) (limited to 'src') diff --git a/src/exchange-lib/testing_api_cmd_bank_check.c b/src/exchange-lib/testing_api_cmd_bank_check.c index c46aa10ba..b4f5fff42 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 70d41a395..9756d0bee 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 0de966947..0af398710 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 eed1fcb36..7bbf6d640 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 6b2c81ea9..eab7604ec 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 aebf46e27..0953f24b7 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 5cf2c4aca..cdf359931 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 c60ac1d6c..8d0dfb956 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 56b93c1e8..28be03744 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 8d9f9edd6..789b30b9b 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 456ac6bd2..1ee0e3b5e 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 3e6aedda7..81f96b8f9 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 5997f8989..428bcb78a 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 -- cgit v1.2.3