diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-21 00:23:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-21 00:23:23 +0100 |
commit | 544ba42f445cbff2f544d7e1c83aaffcfa75af3a (patch) | |
tree | f942bcc479657e794b01c94c796013aa58098781 /src/testing | |
parent | 19624fd776f28812354f7e2b50b26e984ff077ab (diff) | |
download | exchange-544ba42f445cbff2f544d7e1c83aaffcfa75af3a.tar.xz |
-big renaming of structs for consistent naming with P suffix
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_api_cmd_auditor_add_denom_sig.c | 2 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_auditor_deposit_confirmation.c | 6 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_deposit.c | 4 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_deposits_get.c | 4 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_insert_deposit.c | 4 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_kyc_check_get.c | 2 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_refund.c | 2 | ||||
-rw-r--r-- | src/testing/testing_api_cmd_transfer_get.c | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/src/testing/testing_api_cmd_auditor_add_denom_sig.c b/src/testing/testing_api_cmd_auditor_add_denom_sig.c index b8feb7d34..3d7ea82f1 100644 --- a/src/testing/testing_api_cmd_auditor_add_denom_sig.c +++ b/src/testing/testing_api_cmd_auditor_add_denom_sig.c @@ -108,7 +108,7 @@ auditor_add_run (void *cls, { struct AuditorAddDenomSigState *ds = cls; struct TALER_AuditorSignatureP auditor_sig; - struct TALER_DenominationHash h_denom_pub; + struct TALER_DenominationHashP h_denom_pub; const struct TALER_EXCHANGE_DenomPublicKey *dk; (void) cmd; diff --git a/src/testing/testing_api_cmd_auditor_deposit_confirmation.c b/src/testing/testing_api_cmd_auditor_deposit_confirmation.c index debf343cc..beeeb551c 100644 --- a/src/testing/testing_api_cmd_auditor_deposit_confirmation.c +++ b/src/testing/testing_api_cmd_auditor_deposit_confirmation.c @@ -199,11 +199,11 @@ deposit_confirmation_run (void *cls, const struct TALER_TESTING_Command *cmd, struct TALER_TESTING_Interpreter *is) { - static struct TALER_ExtensionContractHash no_h_extensions; + static struct TALER_ExtensionContractHashP no_h_extensions; struct DepositConfirmationState *dcs = cls; const struct TALER_TESTING_Command *deposit_cmd; - struct TALER_MerchantWireHash h_wire; - struct TALER_PrivateContractHash h_contract_terms; + struct TALER_MerchantWireHashP h_wire; + struct TALER_PrivateContractHashP h_contract_terms; const struct GNUNET_TIME_Timestamp *exchange_timestamp = NULL; struct GNUNET_TIME_Timestamp timestamp; const struct GNUNET_TIME_Timestamp *wire_deadline; diff --git a/src/testing/testing_api_cmd_deposit.c b/src/testing/testing_api_cmd_deposit.c index d3a444ee5..a241c531b 100644 --- a/src/testing/testing_api_cmd_deposit.c +++ b/src/testing/testing_api_cmd_deposit.c @@ -293,7 +293,7 @@ deposit_run (void *cls, const struct TALER_DenominationSignature *denom_pub_sig; struct TALER_CoinSpendSignatureP coin_sig; struct TALER_MerchantPublicKeyP merchant_pub; - struct TALER_PrivateContractHash h_contract_terms; + struct TALER_PrivateContractHashP h_contract_terms; enum TALER_ErrorCode ec; struct TALER_WireSaltP wire_salt; const char *payto_uri; @@ -433,7 +433,7 @@ deposit_run (void *cls, GNUNET_CRYPTO_eddsa_key_get_public (&ds->merchant_priv.eddsa_priv, &merchant_pub.eddsa_pub); { - struct TALER_MerchantWireHash h_wire; + struct TALER_MerchantWireHashP h_wire; GNUNET_assert (GNUNET_OK == TALER_JSON_merchant_wire_signature_hash (ds->wire_details, diff --git a/src/testing/testing_api_cmd_deposits_get.c b/src/testing/testing_api_cmd_deposits_get.c index baddb2d00..42dc1cb81 100644 --- a/src/testing/testing_api_cmd_deposits_get.c +++ b/src/testing/testing_api_cmd_deposits_get.c @@ -189,8 +189,8 @@ track_transaction_run (void *cls, struct TALER_CoinSpendPublicKeyP coin_pub; const json_t *contract_terms; const json_t *wire_details; - struct TALER_MerchantWireHash h_wire_details; - struct TALER_PrivateContractHash h_contract_terms; + struct TALER_MerchantWireHashP h_wire_details; + struct TALER_PrivateContractHashP h_contract_terms; const struct TALER_MerchantPrivateKeyP *merchant_priv; (void) cmd; diff --git a/src/testing/testing_api_cmd_insert_deposit.c b/src/testing/testing_api_cmd_insert_deposit.c index 7404b8b70..947bf5831 100644 --- a/src/testing/testing_api_cmd_insert_deposit.c +++ b/src/testing/testing_api_cmd_insert_deposit.c @@ -198,7 +198,7 @@ insert_deposit_run (void *cls, &deposit.coin.coin_pub, sizeof (deposit.coin.coin_pub)); { - struct TALER_CoinPubHash c_hash; + struct TALER_CoinPubHashP c_hash; struct TALER_PlanchetDetail pd; struct TALER_BlindedDenominationSignature bds; struct TALER_PlanchetMasterSecretP ps; @@ -244,7 +244,7 @@ insert_deposit_run (void *cls, /* finally, actually perform the DB operation */ { uint64_t known_coin_id; - struct TALER_DenominationHash dph; + struct TALER_DenominationHashP dph; struct TALER_AgeCommitmentHash agh; if ( (GNUNET_OK != diff --git a/src/testing/testing_api_cmd_kyc_check_get.c b/src/testing/testing_api_cmd_kyc_check_get.c index 3d35752b6..ffd5664a0 100644 --- a/src/testing/testing_api_cmd_kyc_check_get.c +++ b/src/testing/testing_api_cmd_kyc_check_get.c @@ -121,7 +121,7 @@ check_kyc_run (void *cls, const struct TALER_TESTING_Command *res_cmd; const char **payto_uri; const uint64_t *payment_target; - struct TALER_PaytoHash h_payto; + struct TALER_PaytoHashP h_payto; (void) cmd; kcg->is = is; diff --git a/src/testing/testing_api_cmd_refund.c b/src/testing/testing_api_cmd_refund.c index 5dae9e57c..4be3605a4 100644 --- a/src/testing/testing_api_cmd_refund.c +++ b/src/testing/testing_api_cmd_refund.c @@ -127,7 +127,7 @@ refund_run (void *cls, const struct TALER_CoinSpendPrivateKeyP *coin_priv; struct TALER_CoinSpendPublicKeyP coin; const json_t *contract_terms; - struct TALER_PrivateContractHash h_contract_terms; + struct TALER_PrivateContractHashP h_contract_terms; struct TALER_Amount refund_amount; const struct TALER_MerchantPrivateKeyP *merchant_priv; const struct TALER_TESTING_Command *coin_cmd; diff --git a/src/testing/testing_api_cmd_transfer_get.c b/src/testing/testing_api_cmd_transfer_get.c index 580f6ee85..3c467e6da 100644 --- a/src/testing/testing_api_cmd_transfer_get.c +++ b/src/testing/testing_api_cmd_transfer_get.c @@ -219,7 +219,7 @@ track_transfer_cb (void *cls, { const struct TALER_TESTING_Command *wire_details_cmd; const char **payto_uri; - struct TALER_PaytoHash h_payto; + struct TALER_PaytoHashP h_payto; wire_details_cmd = TALER_TESTING_interpreter_lookup_command (is, |