diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-20 23:51:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-20 23:51:28 +0100 |
commit | 7d9a40327587ed99fb20f4c4a5669069c7a51e48 (patch) | |
tree | 40ed8371340ef3d36269e0c9d23c4daae23fb039 /src/mint/taler-mint-httpd.c | |
parent | 0414fb51a9f219c37afc06ad2b309711e360c485 (diff) |
first stab at establishing proper plugin API, main HTTP code compiles, other binaries FTBFS right now
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r-- | src/mint/taler-mint-httpd.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index 7903d5c1c..9adf26dfd 100644 --- a/src/mint/taler-mint-httpd.c +++ b/src/mint/taler-mint-httpd.c @@ -35,7 +35,7 @@ #include "taler-mint-httpd_withdraw.h" #include "taler-mint-httpd_refresh.h" #include "taler-mint-httpd_keystate.h" -#include "mint_db.h" +#include "taler_mintdb_plugin.h" /** @@ -260,16 +260,7 @@ mint_serve_process_config (const char *mint_directory) GNUNET_free (master_pub_str); if (GNUNET_OK != - GNUNET_CONFIGURATION_get_value_string (cfg, - "mint", "db", - &db_cfg)) - { - fprintf (stderr, - "invalid configuration: mint.db\n"); - return GNUNET_NO; - } - if (GNUNET_OK != - TALER_MINT_DB_init (db_cfg)) + TALER_MINT_plugin_load (cfg)) { fprintf (stderr, "failed to initialize DB subsystem\n"); |