From f1a71f180c7bac551c8d4de2531172be561d5103 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 30 Sep 2016 23:19:18 +0200 Subject: mint->exchange leftovers --- src/exchange/taler-exchange-httpd_validation.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_validation.c') diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c index ac875f942..9d7b4ffcb 100644 --- a/src/exchange/taler-exchange-httpd_validation.c +++ b/src/exchange/taler-exchange-httpd_validation.c @@ -72,7 +72,7 @@ static struct Plugin *wire_tail; * @return #GNUNET_OK on success */ int -TMH_VALIDATION_init (const struct GNUNET_CONFIGURATION_Handle *cfg) +TEH_VALIDATION_init (const struct GNUNET_CONFIGURATION_Handle *cfg) { struct Plugin *p; char *wireformats; @@ -106,7 +106,7 @@ TMH_VALIDATION_init (const struct GNUNET_CONFIGURATION_Handle *cfg) GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to load plugin %s\n", token); - TMH_VALIDATION_done (); + TEH_VALIDATION_done (); return GNUNET_SYSERR; } GNUNET_CONTAINER_DLL_insert (wire_head, @@ -122,7 +122,7 @@ TMH_VALIDATION_init (const struct GNUNET_CONFIGURATION_Handle *cfg) * Shutdown validation subsystem. */ void -TMH_VALIDATION_done () +TEH_VALIDATION_done () { struct Plugin *p; @@ -147,7 +147,7 @@ TMH_VALIDATION_done () * @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not */ int -TMH_json_validate_wireformat (const json_t *wire, +TEH_json_validate_wireformat (const json_t *wire, int ours) { const char *stype; @@ -168,7 +168,7 @@ TMH_json_validate_wireformat (const json_t *wire, return p->plugin->wire_validate (p->plugin->cls, wire, (GNUNET_YES == ours) - ? &TMH_master_public_key + ? &TEH_master_public_key : NULL); return GNUNET_NO; } @@ -183,7 +183,7 @@ TMH_json_validate_wireformat (const json_t *wire, * @return JSON array with the supported validation methods */ json_t * -TMH_VALIDATION_get_wire_methods (const char *prefix) +TEH_VALIDATION_get_wire_methods (const char *prefix) { json_t *methods; json_t *method; @@ -203,7 +203,7 @@ TMH_VALIDATION_get_wire_methods (const char *prefix) cfg, account_name); if (GNUNET_YES != - TMH_json_validate_wireformat (method, + TEH_json_validate_wireformat (method, GNUNET_YES)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, -- cgit v1.2.3