exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit c0e3021040054c5928c16ba0777ce1f1fc71cdd0
parent 455368147695d6f84bdfb814794483d4a0464e56
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed,  4 May 2016 06:59:48 +0200

dead code elimination

Diffstat:
Msrc/exchange/taler-exchange-httpd_validation.c | 19-------------------
Msrc/exchange/taler-exchange-httpd_validation.h | 9---------
2 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_validation.c b/src/exchange/taler-exchange-httpd_validation.c @@ -175,25 +175,6 @@ TMH_json_validate_wireformat (const json_t *wire, /** - * Check if we support the given wire method. - * - * @param type type of wire method to check - * @return #GNUNET_YES if the method is supported - */ -int -TMH_VALIDATION_test_method (const char *type) -{ - struct Plugin *p; - - for (p=wire_head;NULL != p;p = p->next) - if (0 == strcasecmp (type, - p->type)) - return GNUNET_YES; - return GNUNET_NO; -} - - -/** * Obtain JSON of the supported wire methods for a given * account name prefix. * diff --git a/src/exchange/taler-exchange-httpd_validation.h b/src/exchange/taler-exchange-httpd_validation.h @@ -54,15 +54,6 @@ int TMH_json_validate_wireformat (const json_t *wire, int ours); -/** - * Check if we support the given wire method. - * - * @param type type of wire method to check - * @return #GNUNET_YES if the method is supported - */ -int -TMH_VALIDATION_test_method (const char *type); - /** * Obtain JSON of the supported wire methods for a given