aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_exchanges.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-12 16:02:00 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-12 16:02:00 +0200
commita0dd3ef13d1dc5bca5af600eec7ed928526e2bf4 (patch)
treef4540f54bac463e03e0781fa0f6e77d65ee532e1 /src/backend/taler-merchant-httpd_exchanges.h
parent4f02377b85e748b2c6e73834cda554e92f95e993 (diff)
fix tip pickup MHD suspend/resume handling, code cleanup: use struct TALER_EXCHANGE_HttpResponse where appropriate
Diffstat (limited to 'src/backend/taler-merchant-httpd_exchanges.h')
-rw-r--r--src/backend/taler-merchant-httpd_exchanges.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/backend/taler-merchant-httpd_exchanges.h b/src/backend/taler-merchant-httpd_exchanges.h
index 523ed531..3a47408b 100644
--- a/src/backend/taler-merchant-httpd_exchanges.h
+++ b/src/backend/taler-merchant-httpd_exchanges.h
@@ -59,22 +59,17 @@ TMH_EXCHANGES_done (void);
* operation.
*
* @param cls closure
+ * @param hr HTTP response details
* @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
- * @param ec error code, #TALER_EC_NONE on success
- * @param http_status the HTTP status we got from the exchange
- * @param error_reply the full reply from the exchange, NULL if
- * the response was NOT in JSON or on success
*/
typedef void
(*TMH_EXCHANGES_FindContinuation)(void *cls,
+ const struct TALER_EXCHANGE_HttpResponse *hr,
struct TALER_EXCHANGE_Handle *eh,
const struct TALER_Amount *wire_fee,
- int exchange_trusted,
- enum TALER_ErrorCode ec,
- unsigned int http_status,
- const json_t *error_reply);
+ int exchange_trusted);
/**