aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb/test_mintdb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-28 14:39:31 +0100
committerChristian Grothoff <christian@grothoff.org>2015-03-28 14:39:31 +0100
commitc2fd4896a69a2404fc8b468da2cb6161db97bb3d (patch)
tree91aa01221cb6cb921034a229026b48c2e5720648 /src/mintdb/test_mintdb.c
parent3b9b7fa0994654d146b9968503e007b022c738c6 (diff)
fixing a few missing renames for structs
Diffstat (limited to 'src/mintdb/test_mintdb.c')
-rw-r--r--src/mintdb/test_mintdb.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mintdb/test_mintdb.c b/src/mintdb/test_mintdb.c
index b98a09cd5..99eb9b78c 100644
--- a/src/mintdb/test_mintdb.c
+++ b/src/mintdb/test_mintdb.c
@@ -63,7 +63,7 @@ check_reserve (struct TALER_MINTDB_Session *session,
const char *currency,
uint64_t expiry)
{
- struct Reserve reserve;
+ struct TALER_MINTDB_Reserve reserve;
reserve.pub = *pub;
@@ -127,19 +127,19 @@ run (void *cls,
{
struct TALER_MINTDB_Session *session;
struct TALER_ReservePublicKeyP reserve_pub;
- struct Reserve reserve;
+ struct TALER_MINTDB_Reserve reserve;
struct GNUNET_TIME_Absolute expiry;
struct TALER_Amount amount;
struct DenomKeyPair *dkp;
struct GNUNET_HashCode h_blind;
- struct CollectableBlindcoin cbc;
- struct CollectableBlindcoin cbc2;
- struct ReserveHistory *rh;
- struct ReserveHistory *rh_head;
- struct BankTransfer *bt;
- struct CollectableBlindcoin *withdraw;
- struct Deposit deposit;
- struct Deposit deposit2;
+ struct TALER_MINTDB_CollectableBlindcoin cbc;
+ struct TALER_MINTDB_CollectableBlindcoin cbc2;
+ struct TALER_MINTDB_ReserveHistory *rh;
+ struct TALER_MINTDB_ReserveHistory *rh_head;
+ struct TALER_MINTDB_BankTransfer *bt;
+ struct TALER_MINTDB_CollectableBlindcoin *withdraw;
+ struct TALER_MINTDB_Deposit deposit;
+ struct TALER_MINTDB_Deposit deposit2;
struct json_t *wire;
const char * const json_wire_str =
"{ \"type\":\"SEPA\", \
@@ -262,7 +262,7 @@ run (void *cls,
{
switch (rh_head->type)
{
- case TALER_MINT_DB_RO_BANK_TO_MINT:
+ case TALER_MINTDB_RO_BANK_TO_MINT:
bt = rh_head->details.bank;
FAILIF (0 != memcmp (&bt->reserve_pub,
&reserve_pub,
@@ -272,7 +272,7 @@ run (void *cls,
FAILIF (0 != strcmp (CURRENCY, bt->amount.currency));
FAILIF (NULL != bt->wire); /* FIXME: write wire details to db */
break;
- case TALER_MINT_DB_RO_WITHDRAW_COIN:
+ case TALER_MINTDB_RO_WITHDRAW_COIN:
withdraw = rh_head->details.withdraw;
FAILIF (0 != memcmp (&withdraw->reserve_pub,
&reserve_pub,