diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_exchanges.h')
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_exchanges.h b/src/backend/taler-merchant-httpd_exchanges.h index 86c8374d..892843f6 100644 --- a/src/backend/taler-merchant-httpd_exchanges.h +++ b/src/backend/taler-merchant-httpd_exchanges.h @@ -140,6 +140,19 @@ TMH_EXCHANGES_get_master_pub ( /** + * Return the currency of the given @a exchange. + * Will be returned from configuration for trusted + * exchanges. + * + * @param exchange exchange to get master public key for + * @return the currency of @a exchange + */ +const char * +TMH_EXCHANGES_get_currency ( + const struct TMH_Exchange *exchange); + + +/** * Lookup current wire fee by @a exchange_url and @a wire_method. * * @param exchange the exchange to check |