summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_deposit_confirmation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-17 17:47:53 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-17 17:47:53 +0100
commit86f2d65daf6c2f579ae2ca3cefe36195c2631f2d (patch)
tree65ee3e98d29f2114f430061f4bfdad10a7143bf7 /src/lib/auditor_api_deposit_confirmation.c
parentc17909d8209e18829102c7de2789909722e1af3b (diff)
downloadexchange-86f2d65daf6c2f579ae2ca3cefe36195c2631f2d.tar.gz
exchange-86f2d65daf6c2f579ae2ca3cefe36195c2631f2d.tar.bz2
exchange-86f2d65daf6c2f579ae2ca3cefe36195c2631f2d.zip
style, indentation and type fixes for lib/
Diffstat (limited to 'src/lib/auditor_api_deposit_confirmation.c')
-rw-r--r--src/lib/auditor_api_deposit_confirmation.c49
1 files changed, 20 insertions, 29 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c
index 0aa9ff73..e0135bb4 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -261,32 +261,24 @@ verify_signatures (const struct GNUNET_HashCode *h_wire,
* signatures fail to verify). In this case, the callback is not called.
*/
struct TALER_AUDITOR_DepositConfirmationHandle *
-TALER_AUDITOR_deposit_confirmation (struct TALER_AUDITOR_Handle *auditor,
- const struct GNUNET_HashCode *h_wire,
- const struct
- GNUNET_HashCode *h_contract_terms,
- struct GNUNET_TIME_Absolute timestamp,
- struct GNUNET_TIME_Absolute refund_deadline,
- const struct
- TALER_Amount *amount_without_fee,
- const struct
- TALER_CoinSpendPublicKeyP *coin_pub,
- const struct
- TALER_MerchantPublicKeyP *merchant_pub,
- const struct
- TALER_ExchangePublicKeyP *exchange_pub,
- const struct
- TALER_ExchangeSignatureP *exchange_sig,
- const struct
- TALER_MasterPublicKeyP *master_pub,
- struct GNUNET_TIME_Absolute ep_start,
- struct GNUNET_TIME_Absolute ep_expire,
- struct GNUNET_TIME_Absolute ep_end,
- const struct
- TALER_MasterSignatureP *master_sig,
- TALER_AUDITOR_DepositConfirmationResultCallback
- cb,
- void *cb_cls)
+TALER_AUDITOR_deposit_confirmation (
+ struct TALER_AUDITOR_Handle *auditor,
+ const struct GNUNET_HashCode *h_wire,
+ const struct GNUNET_HashCode *h_contract_terms,
+ struct GNUNET_TIME_Absolute timestamp,
+ struct GNUNET_TIME_Absolute refund_deadline,
+ const struct TALER_Amount *amount_without_fee,
+ const struct TALER_CoinSpendPublicKeyP *coin_pub,
+ const struct TALER_MerchantPublicKeyP *merchant_pub,
+ const struct TALER_ExchangePublicKeyP *exchange_pub,
+ const struct TALER_ExchangeSignatureP *exchange_sig,
+ const struct TALER_MasterPublicKeyP *master_pub,
+ struct GNUNET_TIME_Absolute ep_start,
+ struct GNUNET_TIME_Absolute ep_expire,
+ struct GNUNET_TIME_Absolute ep_end,
+ const struct TALER_MasterSignatureP *master_sig,
+ TALER_AUDITOR_DepositConfirmationResultCallback cb,
+ void *cb_cls)
{
struct TALER_AUDITOR_DepositConfirmationHandle *dh;
struct GNUNET_CURL_Context *ctx;
@@ -398,9 +390,8 @@ TALER_AUDITOR_deposit_confirmation (struct TALER_AUDITOR_Handle *auditor,
* @param deposit_confirmation the deposit-confirmation permission request handle
*/
void
-TALER_AUDITOR_deposit_confirmation_cancel (struct
- TALER_AUDITOR_DepositConfirmationHandle
- *deposit_confirmation)
+TALER_AUDITOR_deposit_confirmation_cancel (
+ struct TALER_AUDITOR_DepositConfirmationHandle *deposit_confirmation)
{
if (NULL != deposit_confirmation->job)
{