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
|
* @param ph handle of the operation to cancel
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
TALER_EXCHANGE_management_post_extensions_cancel (
|
TALER_EXCHANGE_post_management_extensions_cancel (
|
||||||
struct TALER_EXCHANGE_ManagementPostExtensionsHandle *ph);
|
struct TALER_EXCHANGE_ManagementPostExtensionsHandle *ph);
|
||||||
|
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ handle_post_extensions_finished (void *cls,
|
|||||||
&hr);
|
&hr);
|
||||||
ph->cb = NULL;
|
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;
|
struct TALER_EXCHANGE_ManagementPostExtensionsHandle *ph;
|
||||||
// FIXME-oec: TODO!
|
// FIXME-oec: TODO!
|
||||||
|
CURL *eh = NULL;
|
||||||
/*
|
/*
|
||||||
CURL *eh;
|
|
||||||
json_t *body;
|
json_t *body;
|
||||||
json_t *denom_sigs;
|
json_t *denom_sigs;
|
||||||
json_t *signkey_sigs;
|
json_t *signkey_sigs;
|
||||||
|
*/
|
||||||
|
|
||||||
ph = GNUNET_new (struct TALER_EXCHANGE_ManagementPostExtensionsHandle);
|
ph = GNUNET_new (struct TALER_EXCHANGE_ManagementPostExtensionsHandle);
|
||||||
ph->cb = cb;
|
ph->cb = cb;
|
||||||
@ -150,6 +151,7 @@ TALER_EXCHANGE_management_post_extensions (
|
|||||||
GNUNET_free (ph);
|
GNUNET_free (ph);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
denom_sigs = json_array ();
|
denom_sigs = json_array ();
|
||||||
GNUNET_assert (NULL != denom_sigs);
|
GNUNET_assert (NULL != denom_sigs);
|
||||||
for (unsigned int i = 0; i<pkd->num_denom_sigs; i++)
|
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,
|
GNUNET_assert (CURLE_OK == curl_easy_setopt (eh,
|
||||||
CURLOPT_URL,
|
CURLOPT_URL,
|
||||||
ph->url));
|
ph->url));
|
||||||
|
*/
|
||||||
ph->job = GNUNET_CURL_job_add2 (ctx,
|
ph->job = GNUNET_CURL_job_add2 (ctx,
|
||||||
eh,
|
eh,
|
||||||
ph->post_ctx.headers,
|
ph->post_ctx.headers,
|
||||||
&handle_post_keys_finished,
|
&handle_post_extensions_finished,
|
||||||
ph);
|
ph);
|
||||||
if (NULL == ph->job)
|
if (NULL == ph->job)
|
||||||
{
|
{
|
||||||
TALER_EXCHANGE_post_management_keys_cancel (ph);
|
TALER_EXCHANGE_post_management_extensions_cancel (ph);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
return ph;
|
return ph;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user