diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-30 23:19:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-30 23:19:18 +0200 |
commit | f1a71f180c7bac551c8d4de2531172be561d5103 (patch) | |
tree | 503ea74dedb00890fd94d51715909d135e20682e /src/exchange/taler-exchange-httpd_validation.c | |
parent | f00a49e40c035e5345ef90b8fae134467454c97b (diff) | |
download | exchange-f1a71f180c7bac551c8d4de2531172be561d5103.tar.gz exchange-f1a71f180c7bac551c8d4de2531172be561d5103.tar.bz2 exchange-f1a71f180c7bac551c8d4de2531172be561d5103.zip |
mint->exchange leftovers
Diffstat (limited to 'src/exchange/taler-exchange-httpd_validation.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_validation.c | 14 |
1 files changed, 7 insertions, 7 deletions
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, |