-rename for clarity
This commit is contained in:
parent
13dea1fac6
commit
de6c30b0e0
@ -91,7 +91,7 @@ taler_exchange_httpd_SOURCES = \
|
|||||||
taler-exchange-httpd_management_denominations_HDP_revoke.c \
|
taler-exchange-httpd_management_denominations_HDP_revoke.c \
|
||||||
taler-exchange-httpd_management_post_keys.c \
|
taler-exchange-httpd_management_post_keys.c \
|
||||||
taler-exchange-httpd_management_signkey_EP_revoke.c \
|
taler-exchange-httpd_management_signkey_EP_revoke.c \
|
||||||
taler-exchange-httpd_management_wire.c \
|
taler-exchange-httpd_management_wire_enable.c \
|
||||||
taler-exchange-httpd_management_wire_disable.c \
|
taler-exchange-httpd_management_wire_disable.c \
|
||||||
taler-exchange-httpd_management_wire_fees.c \
|
taler-exchange-httpd_management_wire_fees.c \
|
||||||
taler-exchange-httpd_melt.c taler-exchange-httpd_melt.h \
|
taler-exchange-httpd_melt.c taler-exchange-httpd_melt.h \
|
||||||
|
@ -640,8 +640,8 @@ handle_post_management (const struct TEH_RequestHandler *rh,
|
|||||||
"wire"))
|
"wire"))
|
||||||
{
|
{
|
||||||
if (NULL == args[1])
|
if (NULL == args[1])
|
||||||
return TEH_handler_management_denominations_wire (connection,
|
return TEH_handler_management_post_wire (connection,
|
||||||
root);
|
root);
|
||||||
if ( (0 != strcmp (args[1],
|
if ( (0 != strcmp (args[1],
|
||||||
"disable")) ||
|
"disable")) ||
|
||||||
(NULL != args[2]) )
|
(NULL != args[2]) )
|
||||||
@ -649,8 +649,8 @@ handle_post_management (const struct TEH_RequestHandler *rh,
|
|||||||
GNUNET_break_op (0);
|
GNUNET_break_op (0);
|
||||||
return r404 (connection, "/management/wire/disable");
|
return r404 (connection, "/management/wire/disable");
|
||||||
}
|
}
|
||||||
return TEH_handler_management_denominations_wire_disable (connection,
|
return TEH_handler_management_post_wire_disable (connection,
|
||||||
root);
|
root);
|
||||||
}
|
}
|
||||||
if (0 == strcmp (args[0],
|
if (0 == strcmp (args[0],
|
||||||
"wire-fee"))
|
"wire-fee"))
|
||||||
|
@ -97,27 +97,27 @@ TEH_handler_management_post_keys (
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a "/management/wire" request.
|
* Handle a POST "/management/wire" request.
|
||||||
*
|
*
|
||||||
* @param connection the MHD connection to handle
|
* @param connection the MHD connection to handle
|
||||||
* @param root uploaded JSON data
|
* @param root uploaded JSON data
|
||||||
* @return MHD result code
|
* @return MHD result code
|
||||||
*/
|
*/
|
||||||
MHD_RESULT
|
MHD_RESULT
|
||||||
TEH_handler_management_denominations_wire (
|
TEH_handler_management_post_wire (
|
||||||
struct MHD_Connection *connection,
|
struct MHD_Connection *connection,
|
||||||
const json_t *root);
|
const json_t *root);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a "/management/wire/disable" request.
|
* Handle a POST "/management/wire/disable" request.
|
||||||
*
|
*
|
||||||
* @param connection the MHD connection to handle
|
* @param connection the MHD connection to handle
|
||||||
* @param root uploaded JSON data
|
* @param root uploaded JSON data
|
||||||
* @return MHD result code
|
* @return MHD result code
|
||||||
*/
|
*/
|
||||||
MHD_RESULT
|
MHD_RESULT
|
||||||
TEH_handler_management_denominations_wire_disable (
|
TEH_handler_management_post_wire_disable (
|
||||||
struct MHD_Connection *connection,
|
struct MHD_Connection *connection,
|
||||||
const json_t *root);
|
const json_t *root);
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ del_wire (void *cls,
|
|||||||
|
|
||||||
|
|
||||||
MHD_RESULT
|
MHD_RESULT
|
||||||
TEH_handler_management_denominations_wire_disable (
|
TEH_handler_management_post_wire_disable (
|
||||||
struct MHD_Connection *connection,
|
struct MHD_Connection *connection,
|
||||||
const json_t *root)
|
const json_t *root)
|
||||||
{
|
{
|
||||||
|
@ -140,7 +140,7 @@ add_wire (void *cls,
|
|||||||
|
|
||||||
|
|
||||||
MHD_RESULT
|
MHD_RESULT
|
||||||
TEH_handler_management_denominations_wire (
|
TEH_handler_management_post_wire (
|
||||||
struct MHD_Connection *connection,
|
struct MHD_Connection *connection,
|
||||||
const json_t *root)
|
const json_t *root)
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user