-rename for clarity

This commit is contained in:
Christian Grothoff 2021-08-06 09:19:36 +02:00
parent 13dea1fac6
commit de6c30b0e0
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
5 changed files with 11 additions and 11 deletions

View File

@ -91,7 +91,7 @@ taler_exchange_httpd_SOURCES = \
taler-exchange-httpd_management_denominations_HDP_revoke.c \
taler-exchange-httpd_management_post_keys.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_fees.c \
taler-exchange-httpd_melt.c taler-exchange-httpd_melt.h \

View File

@ -640,8 +640,8 @@ handle_post_management (const struct TEH_RequestHandler *rh,
"wire"))
{
if (NULL == args[1])
return TEH_handler_management_denominations_wire (connection,
root);
return TEH_handler_management_post_wire (connection,
root);
if ( (0 != strcmp (args[1],
"disable")) ||
(NULL != args[2]) )
@ -649,8 +649,8 @@ handle_post_management (const struct TEH_RequestHandler *rh,
GNUNET_break_op (0);
return r404 (connection, "/management/wire/disable");
}
return TEH_handler_management_denominations_wire_disable (connection,
root);
return TEH_handler_management_post_wire_disable (connection,
root);
}
if (0 == strcmp (args[0],
"wire-fee"))

View File

@ -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 root uploaded JSON data
* @return MHD result code
*/
MHD_RESULT
TEH_handler_management_denominations_wire (
TEH_handler_management_post_wire (
struct MHD_Connection *connection,
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 root uploaded JSON data
* @return MHD result code
*/
MHD_RESULT
TEH_handler_management_denominations_wire_disable (
TEH_handler_management_post_wire_disable (
struct MHD_Connection *connection,
const json_t *root);

View File

@ -134,7 +134,7 @@ del_wire (void *cls,
MHD_RESULT
TEH_handler_management_denominations_wire_disable (
TEH_handler_management_post_wire_disable (
struct MHD_Connection *connection,
const json_t *root)
{

View File

@ -140,7 +140,7 @@ add_wire (void *cls,
MHD_RESULT
TEH_handler_management_denominations_wire (
TEH_handler_management_post_wire (
struct MHD_Connection *connection,
const json_t *root)
{