aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb/test_merchantdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/test_merchantdb.c')
-rw-r--r--src/backenddb/test_merchantdb.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index ba222ee3..b30c88eb 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -1750,7 +1750,7 @@ test_mark_contract_paid (const struct InstanceData *instance,
const struct OrderData *order,
enum GNUNET_DB_QueryStatus expected_result)
{
- struct TALER_PrivateContractHash h_contract_terms;
+ struct TALER_PrivateContractHashP h_contract_terms;
GNUNET_assert (GNUNET_OK ==
TALER_JSON_contract_hash (order->contract,
@@ -1778,8 +1778,8 @@ test_lookup_order_status (const struct InstanceData *instance,
const struct OrderData *order,
bool expected_paid)
{
- struct TALER_PrivateContractHash h_contract_terms_expected;
- struct TALER_PrivateContractHash h_contract_terms;
+ struct TALER_PrivateContractHashP h_contract_terms_expected;
+ struct TALER_PrivateContractHashP h_contract_terms;
bool order_paid = false;
if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT !=
@@ -2097,7 +2097,7 @@ run_test_orders (struct TestOrders_Closure *cls)
&cls->orders[0],
false));
{
- struct TALER_PrivateContractHash h_contract_terms;
+ struct TALER_PrivateContractHashP h_contract_terms;
bool order_paid = false;
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
@@ -2130,7 +2130,7 @@ run_test_orders (struct TestOrders_Closure *cls)
}
/* Test lookup order status fails for nonexistent order */
{
- struct TALER_PrivateContractHash h_contract_terms;
+ struct TALER_PrivateContractHashP h_contract_terms;
bool order_paid;
if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS !=
@@ -2367,7 +2367,7 @@ struct DepositData
/**
* Hash of the associated order's contract terms.
*/
- struct TALER_PrivateContractHash h_contract_terms;
+ struct TALER_PrivateContractHashP h_contract_terms;
/**
* Public key of the coin that has been deposited.
@@ -2402,7 +2402,7 @@ struct DepositData
/**
* Hash of the wire details.
*/
- struct TALER_MerchantWireHash h_wire;
+ struct TALER_MerchantWireHashP h_wire;
/**
* Signature the exchange made on this deposit.
@@ -2635,7 +2635,7 @@ lookup_deposits_cb (void *cls,
*/
static int
test_lookup_deposits (const struct InstanceData *instance,
- const struct TALER_PrivateContractHash *h_contract_terms,
+ const struct TALER_PrivateContractHashP *h_contract_terms,
unsigned int deposits_length,
const struct DepositData *deposits)
{
@@ -2699,7 +2699,7 @@ lookup_deposits_contract_coin_cb (
const struct TALER_Amount *deposit_fee,
const struct TALER_Amount *refund_fee,
const struct TALER_Amount *wire_fee,
- const struct TALER_MerchantWireHash *h_wire,
+ const struct TALER_MerchantWireHashP *h_wire,
struct GNUNET_TIME_Timestamp deposit_timestamp,
struct GNUNET_TIME_Timestamp refund_deadline,
const struct TALER_ExchangeSignatureP *exchange_sig,
@@ -2761,7 +2761,7 @@ lookup_deposits_contract_coin_cb (
static int
test_lookup_deposits_contract_and_coin (
const struct InstanceData *instance,
- const struct TALER_PrivateContractHash *h_contract,
+ const struct TALER_PrivateContractHashP *h_contract,
const struct TALER_CoinSpendPublicKeyP *coin_pub,
unsigned int deposits_length,
const struct DepositData *deposits)
@@ -2821,7 +2821,7 @@ static void
lookup_deposits_order_cb (void *cls,
uint64_t deposit_serial,
const char *exchange_url,
- const struct TALER_MerchantWireHash *h_wire,
+ const struct TALER_MerchantWireHashP *h_wire,
const struct TALER_Amount *amount_with_fee,
const struct TALER_Amount *deposit_fee,
const struct TALER_CoinSpendPublicKeyP *coin_pub)
@@ -2938,7 +2938,7 @@ static void
get_deposit_serial_cb (void *cls,
uint64_t deposit_serial,
const char *exchange_url,
- const struct TALER_MerchantWireHash *h_wire,
+ const struct TALER_MerchantWireHashP *h_wire,
const struct TALER_Amount *amount_with_fee,
const struct TALER_Amount *deposit_fee,
const struct TALER_CoinSpendPublicKeyP *coin_pub)
@@ -5725,7 +5725,7 @@ lookup_refunds_cb (void *cls,
*/
static int
test_lookup_refunds (const struct InstanceData *instance,
- const struct TALER_PrivateContractHash *h_contract_terms,
+ const struct TALER_PrivateContractHashP *h_contract_terms,
unsigned int refunds_length,
const struct TALER_CoinSpendPublicKeyP *coin_pubs,
const struct TALER_Amount *refund_amounts)
@@ -6048,7 +6048,7 @@ get_refund_serial_cb (void *cls,
*/
static uint64_t
get_refund_serial (const struct InstanceData *instance,
- const struct TALER_PrivateContractHash *h_contract_terms,
+ const struct TALER_PrivateContractHashP *h_contract_terms,
const struct RefundData *refund)
{
struct LookupRefundSerial_Closure lookup_cls = {
@@ -6684,7 +6684,7 @@ test_lookup_orders_all_filters (void)
static void
kyc_status_ok (void *cls,
- const struct TALER_MerchantWireHash *h_wire,
+ const struct TALER_MerchantWireHashP *h_wire,
uint64_t exchange_kyc_serial,
const char *payto_uri,
const char *exchange_url,
@@ -6700,7 +6700,7 @@ kyc_status_ok (void *cls,
static void
kyc_status_fail (void *cls,
- const struct TALER_MerchantWireHash *h_wire,
+ const struct TALER_MerchantWireHashP *h_wire,
uint64_t exchange_kyc_serial,
const char *payto_uri,
const char *exchange_url,