summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-21 00:23:23 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-21 00:23:23 +0100
commit544ba42f445cbff2f544d7e1c83aaffcfa75af3a (patch)
treef942bcc479657e794b01c94c796013aa58098781 /src/lib/exchange_api_common.c
parent19624fd776f28812354f7e2b50b26e984ff077ab (diff)
downloadexchange-544ba42f445cbff2f544d7e1c83aaffcfa75af3a.tar.gz
exchange-544ba42f445cbff2f544d7e1c83aaffcfa75af3a.tar.bz2
exchange-544ba42f445cbff2f544d7e1c83aaffcfa75af3a.zip
-big renaming of structs for consistent naming with P suffix
Diffstat (limited to 'src/lib/exchange_api_common.c')
-rw-r--r--src/lib/exchange_api_common.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/exchange_api_common.c b/src/lib/exchange_api_common.c
index 4f3e878d4..17e00a813 100644
--- a/src/lib/exchange_api_common.c
+++ b/src/lib/exchange_api_common.c
@@ -124,8 +124,8 @@ TALER_EXCHANGE_parse_reserve_history (
"WITHDRAW"))
{
struct TALER_ReserveSignatureP sig;
- struct TALER_DenominationHash h_denom_pub;
- struct TALER_BlindedCoinHash bch;
+ struct TALER_DenominationHashP h_denom_pub;
+ struct TALER_BlindedCoinHashP bch;
struct TALER_Amount withdraw_fee;
struct GNUNET_JSON_Specification withdraw_spec[] = {
GNUNET_JSON_spec_fixed_auto ("reserve_sig",
@@ -411,7 +411,7 @@ TALER_EXCHANGE_verify_coin_history (
const char *currency,
const struct TALER_CoinSpendPublicKeyP *coin_pub,
json_t *history,
- struct TALER_DenominationHash *h_denom_pub,
+ struct TALER_DenominationHashP *h_denom_pub,
struct TALER_Amount *total)
{
size_t len;
@@ -470,9 +470,9 @@ TALER_EXCHANGE_verify_coin_history (
if (0 == strcasecmp (type,
"DEPOSIT"))
{
- struct TALER_MerchantWireHash h_wire;
- struct TALER_PrivateContractHash h_contract_terms;
- // struct TALER_ExtensionContractHash h_extensions; // FIXME!
+ struct TALER_MerchantWireHashP h_wire;
+ struct TALER_PrivateContractHashP h_contract_terms;
+ // struct TALER_ExtensionContractHashP h_extensions; // FIXME!
struct GNUNET_TIME_Timestamp wallet_timestamp;
struct TALER_MerchantPublicKeyP merchant_pub;
struct GNUNET_TIME_Timestamp refund_deadline = {0};
@@ -609,7 +609,7 @@ TALER_EXCHANGE_verify_coin_history (
else if (0 == strcasecmp (type,
"REFUND"))
{
- struct TALER_PrivateContractHash h_contract_terms;
+ struct TALER_PrivateContractHashP h_contract_terms;
struct TALER_MerchantPublicKeyP merchant_pub;
struct TALER_MerchantSignatureP sig;
struct TALER_Amount refund_fee;