diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-04-11 18:58:54 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-04-11 18:58:54 +0200 |
commit | 78cf27aaac2bb93d34c2418ccfad8f8eda364886 (patch) | |
tree | c80e35e9d3356fb6d4472f06ece0d522814e21ae /src/lib/exchange_api_contracts_get.c | |
parent | 6aad1fa35189a6abccae45f20092cc6ce6d27d03 (diff) |
-skeleton for GET /contracts/ logic: add to build system
Diffstat (limited to 'src/lib/exchange_api_contracts_get.c')
-rw-r--r-- | src/lib/exchange_api_contracts_get.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/exchange_api_contracts_get.c b/src/lib/exchange_api_contracts_get.c index ba5ddc5bd..3e7d960a1 100644 --- a/src/lib/exchange_api_contracts_get.c +++ b/src/lib/exchange_api_contracts_get.c @@ -129,7 +129,7 @@ handle_contract_get_finished (void *cls, cgh->cb (cgh->cb_cls, &dr); GNUNET_JSON_parse_free (spec); - TALER_EXCHANGE_contracts_get_cancel (cgh); + TALER_EXCHANGE_contract_get_cancel (cgh); return; } case MHD_HTTP_BAD_REQUEST: @@ -170,11 +170,11 @@ handle_contract_get_finished (void *cls, } cgh->cb (cgh->cb_cls, &dr); - TALER_EXCHANGE_contracts_get_cancel (cgh); + TALER_EXCHANGE_contract_get_cancel (cgh); } -struct TALER_EXCHANGE_ContractGetHandle * +struct TALER_EXCHANGE_ContractsGetHandle * TALER_EXCHANGE_contract_get ( struct TALER_EXCHANGE_Handle *exchange, const struct TALER_ContractDiffiePrivateP *contract_priv, @@ -239,8 +239,8 @@ TALER_EXCHANGE_contract_get ( void -TALER_EXCHANGE_contracts_get_cancel (struct - TALER_EXCHANGE_ContractsGetHandle *cgh) +TALER_EXCHANGE_contract_get_cancel ( + struct TALER_EXCHANGE_ContractsGetHandle *cgh) { if (NULL != cgh->job) { |