quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

commit 5abeccff70e3a01c4cfadad0f5fb373f9bf193d4
parent 57535d3ed1847ec3335ab2b86a313a972da54688
Author: Florian Dold <florian@dold.me>
Date:   Wed,  4 Jan 2023 11:52:19 +0100

naming

Diffstat:
Mtaler_wallet_core_lib.h | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/taler_wallet_core_lib.h b/taler_wallet_core_lib.h @@ -26,7 +26,7 @@ #define _TALER_WALLET_LIB_H /** - * Opaque handle to a Taler wallet-core. + * Opaque handle to a Taler wallet-core instance. */ struct TALER_WALLET_Instance; @@ -51,7 +51,7 @@ TALER_WALLET_create(void); * Caution: The handler will be called from a different thread. */ void -TALER_WALLET_set_message_handler(struct TALER_WALLET_Instance *h, +TALER_WALLET_set_message_handler(struct TALER_WALLET_Instance *twi, TALER_WALLET_MessageHandlerFn handler_f, void *handler_p); @@ -72,8 +72,8 @@ TALER_WALLET_set_message_handler(struct TALER_WALLET_Instance *h, * set with #TALER_WALLET_set_message_handler. */ int -TALER_WALLET_send_request(struct TALER_WALLET_Instance *h, - const char *msg); +TALER_WALLET_send_request(struct TALER_WALLET_Instance *twi, + const char *request); /** * Run wallet-core in a thread. @@ -81,13 +81,13 @@ TALER_WALLET_send_request(struct TALER_WALLET_Instance *h, * This function creates a new thread and returns immediately. */ void -TALER_WALLET_run(struct TALER_WALLET_Instance *h); +TALER_WALLET_run(struct TALER_WALLET_Instance *twi); /** * Block until the wallet returns. */ void -TALER_WALLET_join(struct TALER_WALLET_Instance *wh); +TALER_WALLET_join(struct TALER_WALLET_Instance *twi); /** * Destroy the wallet handle and free resources associated with it. @@ -98,6 +98,6 @@ TALER_WALLET_join(struct TALER_WALLET_Instance *wh); * sent a response to the shutdown message. */ void -TALER_WALLET_destroy(struct TALER_WALLET_Instance *h); +TALER_WALLET_destroy(struct TALER_WALLET_Instance *twi); #endif /*_TALER_WALLET_LIB_H */