diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-04-11 18:56:05 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-04-11 18:56:05 +0200 |
commit | 6aad1fa35189a6abccae45f20092cc6ce6d27d03 (patch) | |
tree | fde4f02c08fc7e6b1762afde998ffee85b44ce3f /src/include | |
parent | 7a1dcc52ca9a6d79be10076b06b9a3e6ea35d395 (diff) | |
download | exchange-6aad1fa35189a6abccae45f20092cc6ce6d27d03.tar.xz |
-skeleton for GET /contracts/ logic
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 209054588..4cdd0c33a 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4061,12 +4061,12 @@ struct TALER_EXCHANGE_ContractGetResponse * Function called with information about the a purse. * * @param cls closure - * @param pgr HTTP response data + * @param cgr HTTP response data */ typedef void (*TALER_EXCHANGE_ContractGetCallback) ( void *cls, - const struct TALER_EXCHANGE_ContractGetResponse *pgr); + const struct TALER_EXCHANGE_ContractGetResponse *cgr); /** @@ -4078,8 +4078,7 @@ struct TALER_EXCHANGE_ContractsGetHandle; /** * Request information about a contract from the exchange. * - * @param ctx the context - * @param url HTTP base URL for the exchange + * @param exchange exchange handle * @param contract_priv private key of the contract * @param cb function to call with the exchange's result * @param cb_cls closure for @a cb @@ -4087,8 +4086,7 @@ struct TALER_EXCHANGE_ContractsGetHandle; */ struct TALER_EXCHANGE_ContractGetHandle * TALER_EXCHANGE_contract_get ( - struct GNUNET_CURL_Context *ctx, - const char *url, + struct TALER_EXCHANGE_Handle *exchange, const struct TALER_ContractDiffiePrivateP *contract_priv, TALER_EXCHANGE_ContractGetCallback cb, void *cb_cls); @@ -4165,8 +4163,7 @@ struct TALER_EXCHANGE_PurseGetHandle; /** * Request information about a purse from the exchange. * - * @param ctx the context - * @param url HTTP base URL for the exchange + * @param exchange exchange handle * @param purse_priv private key of the purse * @param merge_timeout how long to wait for a merge to happen * @param deposit_timeout how long to wait for a deposit to happen @@ -4176,8 +4173,7 @@ struct TALER_EXCHANGE_PurseGetHandle; */ struct TALER_EXCHANGE_PurseGetHandle * TALER_EXCHANGE_purse_get ( - struct GNUNET_CURL_Context *ctx, - const char *url, + struct TALER_EXCHANGE_Handle *exchange, const struct TALER_PurseContractPrivateKeyP *purse_priv, struct GNUNET_TIME_Relative merge_timeout, struct GNUNET_TIME_Relative deposit_timeout, |