fix function names

This commit is contained in:
Özgür Kesim 2021-12-06 12:26:13 +01:00
parent 5104b43902
commit f2d7e172d1
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7
2 changed files with 8 additions and 6 deletions

View File

@ -2664,7 +2664,7 @@ TALER_EXCHANGE_management_post_extensions (
* @param ph handle of the operation to cancel
*/
void
TALER_EXCHANGE_management_post_extensions_cancel (
TALER_EXCHANGE_post_management_extensions_cancel (
struct TALER_EXCHANGE_ManagementPostExtensionsHandle *ph);

View File

@ -116,7 +116,7 @@ handle_post_extensions_finished (void *cls,
&hr);
ph->cb = NULL;
}
TALER_EXCHANGE_management_post_extensions_cancel (ph);
TALER_EXCHANGE_post_management_extensions_cancel (ph);
}
@ -130,11 +130,12 @@ TALER_EXCHANGE_management_post_extensions (
{
struct TALER_EXCHANGE_ManagementPostExtensionsHandle *ph;
// FIXME-oec: TODO!
CURL *eh = NULL;
/*
CURL *eh;
json_t *body;
json_t *denom_sigs;
json_t *signkey_sigs;
*/
ph = GNUNET_new (struct TALER_EXCHANGE_ManagementPostExtensionsHandle);
ph->cb = cb;
@ -150,6 +151,7 @@ TALER_EXCHANGE_management_post_extensions (
GNUNET_free (ph);
return NULL;
}
/*
denom_sigs = json_array ();
GNUNET_assert (NULL != denom_sigs);
for (unsigned int i = 0; i<pkd->num_denom_sigs; i++)
@ -207,17 +209,17 @@ TALER_EXCHANGE_management_post_extensions (
GNUNET_assert (CURLE_OK == curl_easy_setopt (eh,
CURLOPT_URL,
ph->url));
*/
ph->job = GNUNET_CURL_job_add2 (ctx,
eh,
ph->post_ctx.headers,
&handle_post_keys_finished,
&handle_post_extensions_finished,
ph);
if (NULL == ph->job)
{
TALER_EXCHANGE_post_management_keys_cancel (ph);
TALER_EXCHANGE_post_management_extensions_cancel (ph);
return NULL;
}
*/
return ph;
}