commit 1c1b2995f80d0f42e24f5bce231af35e1de4e030 parent f59b2d9567a16ab31b8ad8c138c0eef226caf7d4 Author: Marc Stibane <marc@taler.net> Date: Wed, 28 Feb 2024 12:32:27 +0100 TALER_set_native_http_client_implementation Diffstat:
| M | taler_wallet_core_lib.h | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/taler_wallet_core_lib.h b/taler_wallet_core_lib.h @@ -163,4 +163,18 @@ void TALER_set_http_client_implementation(struct TALER_WALLET_Instance *twi, struct JSHttpClientImplementation *impl); +#pragma mark - +/** + * Set the native HTTP client implementation to be used by the wallet. + * + * @param twi wallet-core instance + * @param req_create HTTP client implementation + * @param req_cancel HTTP client implementation + */ +void +TALER_set_native_http_client_implementation(struct TALER_WALLET_Instance *twi, + JSHttpReqCreateFn req_create, + JSHttpReqCancelFn req_cancel, + void *handler_p); + #endif /*_TALER_WALLET_LIB_H */