From a7379930d273b53429684603df92411cf39b9976 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Jun 2016 11:35:28 +0200 Subject: turn libfakebank into libtalerfakebank so we can use it for testcases in the merchant --- src/exchange/test_taler_exchange_aggregator.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/exchange') diff --git a/src/exchange/test_taler_exchange_aggregator.c b/src/exchange/test_taler_exchange_aggregator.c index dd8e4575b..a5ce044de 100644 --- a/src/exchange/test_taler_exchange_aggregator.c +++ b/src/exchange/test_taler_exchange_aggregator.c @@ -25,7 +25,7 @@ #include "taler_json_lib.h" #include "taler_exchangedb_plugin.h" #include -#include "fakebank.h" +#include "taler_fakebank_lib.h" @@ -247,7 +247,7 @@ static struct GNUNET_CRYPTO_RsaPublicKey *coin_pub; /** * Handle for our fake bank. */ -static struct FAKEBANK_Handle *fb; +static struct TALER_FAKEBANK_Handle *fb; /** @@ -295,7 +295,7 @@ shutdown_action (void *cls) } if (NULL != fb) { - FAKEBANK_stop (fb); + TALER_FAKEBANK_stop (fb); fb = NULL; } if (NULL != child_death_task) @@ -532,7 +532,7 @@ interpreter (void *cls) } return; case OPCODE_EXPECT_TRANSACTIONS_EMPTY: - if (GNUNET_OK != FAKEBANK_check_empty (fb)) + if (GNUNET_OK != TALER_FAKEBANK_check_empty (fb)) { fail (cmd); return; @@ -561,7 +561,7 @@ interpreter (void *cls) return; } if (GNUNET_OK != - FAKEBANK_check (fb, + TALER_FAKEBANK_check (fb, &want_amount, cmd->details.expect_transaction.debit_account, cmd->details.expect_transaction.credit_account, @@ -1179,7 +1179,7 @@ run (void *cls) &timeout_action, NULL); result = 1; /* test failed for undefined reason */ - fb = FAKEBANK_start (8082); + fb = TALER_FAKEBANK_start (8082); if (NULL == fb) { GNUNET_SCHEDULER_shutdown (); -- cgit v1.2.3