diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-28 12:29:35 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-28 12:29:35 +0100 |
commit | 44b894ebe16f2646b49429bc45208dabb8bbc30b (patch) | |
tree | 5529b660eec8a9ce491673c0f594bb96c9a828dd /src/mintdb/test_mintdb.c | |
parent | c626ccac51dc968725b2ead1ecb0cebedd9987fc (diff) |
more rename-fest work
Diffstat (limited to 'src/mintdb/test_mintdb.c')
-rw-r--r-- | src/mintdb/test_mintdb.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mintdb/test_mintdb.c b/src/mintdb/test_mintdb.c index a82094075..b98a09cd5 100644 --- a/src/mintdb/test_mintdb.c +++ b/src/mintdb/test_mintdb.c @@ -19,7 +19,8 @@ * @author Sree Harsha Totakura <sreeharsha@totakura.in> */ #include "platform.h" -#include "plugin.h" +#include "taler_mintdb_lib.h" +#include "taler_mintdb_plugin.h" static int result; @@ -40,6 +41,8 @@ static int result; #define CURRENCY "EUR" +static struct TALER_MINTDB_Plugin *plugin; + /** * Checks if the given reserve has the given amount of balance and expiry * @@ -154,8 +157,8 @@ run (void *cls, session = NULL; ZR_BLK (&cbc); ZR_BLK (&cbc2); - if (GNUNET_OK != - TALER_MINT_plugin_load (cfg)) + if (NULL == + (plugin = TALER_MINTDB_plugin_load (cfg))) { result = 1; return; @@ -344,7 +347,8 @@ run (void *cls, if (NULL != cbc2.sig.rsa_signature) GNUNET_CRYPTO_rsa_signature_free (cbc2.sig.rsa_signature); dkp = NULL; - TALER_MINT_plugin_unload (); + TALER_MINTDB_plugin_unload (plugin); + plugin = NULL; } |