fix function names
This commit is contained in:
parent
5104b43902
commit
f2d7e172d1
@ -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);
|
||||
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user