summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-29 00:37:37 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-29 00:37:37 +0200
commit0846ab93bcbe606d34cc547904634244312e137d (patch)
tree6965ac524b88653be4e61ca340884853cba666dd /src
parentf486df99c87f4ea660a4e39fe4497c9fd2afa847 (diff)
downloadexchange-0846ab93bcbe606d34cc547904634244312e137d.tar.gz
exchange-0846ab93bcbe606d34cc547904634244312e137d.tar.bz2
exchange-0846ab93bcbe606d34cc547904634244312e137d.zip
doxygen fixes
Diffstat (limited to 'src')
-rw-r--r--src/auditor/report-lib.c2
-rw-r--r--src/auditor/report-lib.h4
-rw-r--r--src/auditor/taler-helper-auditor-deposits.c2
-rw-r--r--src/bank-lib/taler-wire-gateway-client.c2
-rw-r--r--src/include/taler_auditor_service.h2
-rw-r--r--src/include/taler_signatures.h20
-rw-r--r--src/include/taler_testing_lib.h3
-rw-r--r--src/lib/exchange_api_withdraw2.c7
-rw-r--r--src/testing/testing_api_helpers_bank.c1
9 files changed, 10 insertions, 33 deletions
diff --git a/src/auditor/report-lib.c b/src/auditor/report-lib.c
index 48483bde..0cecf2e0 100644
--- a/src/auditor/report-lib.c
+++ b/src/auditor/report-lib.c
@@ -583,7 +583,7 @@ TALER_ARL_amount_subtract_ (struct TALER_Amount *diff,
* @param filename where is the addition called
* @param functionname name of the function where the addition is called
* @param line line number of the addition
- * @return #TALER_ARL_SR_NEGATIVE if the result was negative (and @a diff is now invalid),
+ * @return #TALER_ARL_SR_INVALID_NEGATIVE if the result was negative (and @a diff is now invalid),
* #TALER_ARL_SR_ZERO if the result was zero,
* #TALER_ARL_SR_POSITIVE if the result is positive
*/
diff --git a/src/auditor/report-lib.h b/src/auditor/report-lib.h
index 0842f915..04165ae4 100644
--- a/src/auditor/report-lib.h
+++ b/src/auditor/report-lib.h
@@ -258,7 +258,7 @@ enum TALER_ARL_SubtractionResult
* @param filename where is the addition called
* @param functionname name of the function where the addition is called
* @param line line number of the addition
- * @return #TALER_ARL_SR_NEGATIVE if the result was negative (and @a diff is now invalid),
+ * @return #TALER_ARL_SR_INVALID_NEGATIVE if the result was negative (and @a diff is now invalid),
* #TALER_ARL_SR_ZERO if the result was zero,
* #TALER_ARL_SR_POSITIVE if the result is positive
*/
@@ -280,7 +280,7 @@ TALER_ARL_amount_subtract_neg_ (struct TALER_Amount *diff,
* @param[out] diff where to store (@a a1 - @a a2)
* @param a1 amount to subtract from
* @param a2 amount to subtract
- * @return #TALER_ARL_SR_NEGATIVE if the result was negative (and @a diff is now invalid),
+ * @return #TALER_ARL_SR_INVALID_NEGATIVE if the result was negative (and @a diff is now invalid),
* #TALER_ARL_SR_ZERO if the result was zero,
* #TALER_ARL_SR_POSITIVE if the result is positive
*/
diff --git a/src/auditor/taler-helper-auditor-deposits.c b/src/auditor/taler-helper-auditor-deposits.c
index 41cf406c..b9c4ff8d 100644
--- a/src/auditor/taler-helper-auditor-deposits.c
+++ b/src/auditor/taler-helper-auditor-deposits.c
@@ -96,7 +96,7 @@ struct DepositConfirmationContext
* @param cls our `struct DepositConfirmationContext`
* @param serial_id row of the @a dc in the database
* @param dc the deposit confirmation we know
- * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERROR to stop iterating
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static int
test_dc (void *cls,
diff --git a/src/bank-lib/taler-wire-gateway-client.c b/src/bank-lib/taler-wire-gateway-client.c
index 58fd57c7..c9e47337 100644
--- a/src/bank-lib/taler-wire-gateway-client.c
+++ b/src/bank-lib/taler-wire-gateway-client.c
@@ -14,7 +14,7 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
- * @file taler-bank-transfer.c
+ * @file taler-wire-gateway-client.c
* @brief Execute wire transfer.
* @author Christian Grothoff
*/
diff --git a/src/include/taler_auditor_service.h b/src/include/taler_auditor_service.h
index e7f056e5..d84ecd5e 100644
--- a/src/include/taler_auditor_service.h
+++ b/src/include/taler_auditor_service.h
@@ -234,7 +234,7 @@ typedef void
* @param auditor the auditor handle; the auditor must be ready to operate
* @param h_wire hash of merchant wire details
* @param h_contract_terms hash of the contact of the merchant with the customer (further details are never disclosed to the auditor)
- * @param timestamp timestamp when the contract was finalized, must not be too far in the future
+ * @param exchange_timestamp timestamp when the contract was finalized, must not be too far in the future
* @param refund_deadline date until which the merchant can issue a refund to the customer via the auditor (can be zero if refunds are not allowed); must not be after the @a wire_deadline
* @param amount_without_fee the amount confirmed to be wired by the exchange to the merchant
* @param coin_pub coin’s public key
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 6584f185..3da11b30 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1339,26 +1339,6 @@ struct TALER_ReserveCloseConfirmationPS
/**
- * Used by the merchant to confirm with a signature that the refund has
- * been successfully done. Even though the frontend doesn't usually do crypto,
- * this signature may turn useful in court.
- */
-struct TALER_MerchantRefundConfirmationPS
-{
- /**
- * Set to #TALER_SIGNATURE_MERCHANT_REFUND_OK.
- */
- struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
-
- /**
- * Hashed order id; in case frontend wants to check it.
- * Hashed without the 0-termination.
- */
- struct GNUNET_HashCode h_order_id GNUNET_PACKED;
-
-};
-
-/**
* Used by the merchant to confirm to the frontend that
* the user did a payment replay with the current browser session.
*/
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 85ea5b01..74148b8f 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -844,8 +844,7 @@ TALER_TESTING_run_bank (const char *config_filename,
* responsible to create the exchange EBICS subscriber at
* the nexus.
*
- * @param bank_url base URL of the bank, used by `wget' to check
- * that the bank was started right.
+ * @param bc bank configuration of the bank
* @return the process, or NULL if the process could not
* be started.
*/
diff --git a/src/lib/exchange_api_withdraw2.c b/src/lib/exchange_api_withdraw2.c
index 25f66914..c51138d9 100644
--- a/src/lib/exchange_api_withdraw2.c
+++ b/src/lib/exchange_api_withdraw2.c
@@ -347,11 +347,8 @@ handle_reserve_withdraw_finished (void *cls,
* same arguments in case of failures.
*
* @param exchange the exchange handle; the exchange must be ready to operate
- * @param pk kind of coin to create
- * @param reserve_sig signature from the reserve authorizing the withdrawal
- * @param reserve_pub public key of the reserve to withdraw from
- * @param ps secrets of the planchet
- * caller must have committed this value to disk before the call (with @a pk)
+ * @param pd planchet details of the planchet to withdraw
+ * @param reserve_priv private key of the reserve to withdraw from
* @param res_cb the callback to call when the final result for this request is available
* @param res_cb_cls closure for @a res_cb
* @return NULL
diff --git a/src/testing/testing_api_helpers_bank.c b/src/testing/testing_api_helpers_bank.c
index b0b8035f..5b11ad93 100644
--- a/src/testing/testing_api_helpers_bank.c
+++ b/src/testing/testing_api_helpers_bank.c
@@ -106,6 +106,7 @@ TALER_TESTING_has_in_name (const char *prog,
* bank" function to do such tasks. This function is also
* responsible to create the exchange user at Nexus.
*
+ * @param bc bank configuration of the bank
* @return the pair of both service handles. In case of
* errors, each element of the pair will be set to NULL.
*/