diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-05 20:11:51 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-05 20:11:51 +0100 |
commit | 09b01a179daf0de4ad2a14d22f584c105d7de22c (patch) | |
tree | 74548bdbd5dc19f3fa2033e908fc4f7552f90bc3 /src/backend/taler-merchant-httpd_exchanges.h | |
parent | 2b78ff4482e5e25bc1880dd08ed4acc6182f134c (diff) |
towards implementing #4935: make sure all of the fee data is available for the /pay handler (but not yet checked)
Diffstat (limited to 'src/backend/taler-merchant-httpd_exchanges.h')
-rw-r--r-- | src/backend/taler-merchant-httpd_exchanges.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_exchanges.h b/src/backend/taler-merchant-httpd_exchanges.h index 0e705a41..6b763aeb 100644 --- a/src/backend/taler-merchant-httpd_exchanges.h +++ b/src/backend/taler-merchant-httpd_exchanges.h @@ -60,11 +60,13 @@ TMH_EXCHANGES_done (void); * * @param cls closure * @param eh handle to the exchange context + * @param wire_fee current applicable wire fee for dealing with @a eh, NULL if not available * @param exchange_trusted #GNUNET_YES if this exchange is trusted by config */ typedef void (*TMH_EXCHANGES_FindContinuation)(void *cls, struct TALER_EXCHANGE_Handle *eh, + const struct TALER_Amount *wire_fee, int exchange_trusted); @@ -80,11 +82,13 @@ struct TMH_EXCHANGES_FindOperation; * NULL for the exchange. * * @param chosen_exchange URI of the exchange we would like to talk to + * @param wire_method the wire method we will use with @a chosen_exchange, NULL for none * @param fc function to call with the handles for the exchange * @param fc_cls closure for @a fc */ struct TMH_EXCHANGES_FindOperation * TMH_EXCHANGES_find_exchange (const char *chosen_exchange, + const char *wire_method, TMH_EXCHANGES_FindContinuation fc, void *fc_cls); |