aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_auditor_service.h
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/include/taler_auditor_service.h
parentc17909d8209e18829102c7de2789909722e1af3b (diff)
style, indentation and type fixes for lib/
Diffstat (limited to 'src/include/taler_auditor_service.h')
-rw-r--r--src/include/taler_auditor_service.h77
1 files changed, 34 insertions, 43 deletions
diff --git a/src/include/taler_auditor_service.h b/src/include/taler_auditor_service.h
index 4849c2fe1..0f69da11b 100644
--- a/src/include/taler_auditor_service.h
+++ b/src/include/taler_auditor_service.h
@@ -114,11 +114,11 @@ enum TALER_AUDITOR_VersionCompatibility
* @param compat protocol compatibility information
*/
typedef void
-(*TALER_AUDITOR_VersionCallback) (void *cls,
- const struct
- TALER_AUDITOR_VersionInformation *vi,
- enum TALER_AUDITOR_VersionCompatibility
- compat);
+(*TALER_AUDITOR_VersionCallback) (
+ void *cls,
+ const struct
+ TALER_AUDITOR_VersionInformation *vi,
+ enum TALER_AUDITOR_VersionCompatibility compat);
/**
@@ -214,32 +214,24 @@ typedef void
* 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);
/**
@@ -249,9 +241,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);
/**
@@ -290,13 +281,13 @@ struct TALER_AUDITOR_ExchangeInfo
* @param raw_response raw JSON response
*/
typedef void
-(*TALER_AUDITOR_ListExchangesResultCallback)(void *cls,
- unsigned int http_status,
- enum TALER_ErrorCode ec,
- unsigned int num_exchanges,
- const struct
- TALER_AUDITOR_ExchangeInfo *ei,
- const json_t *raw_response);
+(*TALER_AUDITOR_ListExchangesResultCallback)(
+ void *cls,
+ unsigned int http_status,
+ enum TALER_ErrorCode ec,
+ unsigned int num_exchanges,
+ const struct TALER_AUDITOR_ExchangeInfo *ei,
+ const json_t *raw_response);
/**
* Submit an /exchanges request to the auditor and get the
@@ -322,8 +313,8 @@ TALER_AUDITOR_list_exchanges (struct TALER_AUDITOR_Handle *auditor,
* @param leh the list exchanges request handle
*/
void
-TALER_AUDITOR_list_exchanges_cancel (struct
- TALER_AUDITOR_ListExchangesHandle *leh);
+TALER_AUDITOR_list_exchanges_cancel (
+ struct TALER_AUDITOR_ListExchangesHandle *leh);
#endif /* _TALER_AUDITOR_SERVICE_H */