summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/exchange/Makefile.am2
-rw-r--r--src/exchange/taler-exchange-httpd.c8
-rw-r--r--src/exchange/taler-exchange-httpd_management.h8
-rw-r--r--src/exchange/taler-exchange-httpd_management_wire_disable.c2
-rw-r--r--src/exchange/taler-exchange-httpd_management_wire_enable.c (renamed from src/exchange/taler-exchange-httpd_management_wire.c)2
5 files changed, 11 insertions, 11 deletions
diff --git a/src/exchange/Makefile.am b/src/exchange/Makefile.am
index 554c42fd..4c1f26df 100644
--- a/src/exchange/Makefile.am
+++ b/src/exchange/Makefile.am
@@ -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 \
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index e823874d..237a0e8e 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -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"))
diff --git a/src/exchange/taler-exchange-httpd_management.h b/src/exchange/taler-exchange-httpd_management.h
index b5ab8478..3f58083e 100644
--- a/src/exchange/taler-exchange-httpd_management.h
+++ b/src/exchange/taler-exchange-httpd_management.h
@@ -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);
diff --git a/src/exchange/taler-exchange-httpd_management_wire_disable.c b/src/exchange/taler-exchange-httpd_management_wire_disable.c
index 0d446bca..3b760ea9 100644
--- a/src/exchange/taler-exchange-httpd_management_wire_disable.c
+++ b/src/exchange/taler-exchange-httpd_management_wire_disable.c
@@ -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)
{
diff --git a/src/exchange/taler-exchange-httpd_management_wire.c b/src/exchange/taler-exchange-httpd_management_wire_enable.c
index e3a31c1e..a12fcb64 100644
--- a/src/exchange/taler-exchange-httpd_management_wire.c
+++ b/src/exchange/taler-exchange-httpd_management_wire_enable.c
@@ -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)
{