From 290268e9af65467ba8ffc82a196e2666c7796475 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Jul 2023 17:51:13 +0200 Subject: more work on API atomization --- src/include/taler_exchange_service.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/include/taler_exchange_service.h') diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index bca75a317..f45834b57 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -1062,14 +1062,18 @@ struct TALER_EXCHANGE_WireHandle; * response are all valid). If the exchange's reply is not * well-formed, we return an HTTP status code of zero to @a cb. * - * @param exchange the exchange handle; the exchange must be ready to operate + * @param ctx curl context + * @param url exchange base URL + * @param keys the keys of the exchange * @param wire_cb the callback to call when a reply for this request is available * @param wire_cb_cls closure for the above callback * @return a handle for this request */ struct TALER_EXCHANGE_WireHandle * TALER_EXCHANGE_wire ( - struct TALER_EXCHANGE_Handle *exchange, + struct GNUNET_CURL_Context *ctx, + const char *url, + struct TALER_EXCHANGE_Keys *keys, TALER_EXCHANGE_WireCallback wire_cb, void *wire_cb_cls); -- cgit v1.2.3