diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2021-12-23 15:15:33 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2021-12-23 15:15:33 +0100 |
commit | 1b23857f2cb56f4aa95a07d7c52bd48abc20b73b (patch) | |
tree | c13076f2420d8a3d28d256368a6c9477b8391cf7 /src/exchange/taler-exchange-httpd.c | |
parent | 62444504f78976137569d635b34fdbedeb6ccc5c (diff) | |
download | exchange-1b23857f2cb56f4aa95a07d7c52bd48abc20b73b.tar.gz exchange-1b23857f2cb56f4aa95a07d7c52bd48abc20b73b.tar.bz2 exchange-1b23857f2cb56f4aa95a07d7c52bd48abc20b73b.zip |
[age restriction] progress 8/n
More work towards support for extensions and age restriction
- updated gana
- added handler for DB-Event
- added TEH_extensions_init() and _done()
- added global for age restriction
- added stub for post handler
- added SQL-table for extension metadata
- added enum type for extensions and other data structures
Also:
- fixed some warnings -Wmaybe-unitialized
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 0ba608ff4..0535a54ea 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -1799,7 +1799,8 @@ do_shutdown (void *cls) TEH_kyc_proof_cleanup (); if (NULL != mhd) MHD_stop_daemon (mhd); - TEH_WIRE_done (); + TEH_wire_done (); + TEH_extensions_done (); TEH_keys_finished (); if (NULL != TEH_plugin) { @@ -1861,6 +1862,13 @@ run (void *cls, return; } if (GNUNET_OK != + TEH_extensions_init ()) + { + global_ret = EXIT_FAILURE; + GNUNET_SCHEDULER_shutdown (); + return; + } + if (GNUNET_OK != TEH_keys_init ()) { global_ret = EXIT_FAILURE; |