From f68e7d0b07aa36364ef9d546afc51ecaea650479 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 30 Jan 2019 15:17:03 +0100 Subject: Adding map: wire method name <--> plugin name. --- src/include/taler_wire_lib.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/include') diff --git a/src/include/taler_wire_lib.h b/src/include/taler_wire_lib.h index b75c107b0..aef61f61c 100644 --- a/src/include/taler_wire_lib.h +++ b/src/include/taler_wire_lib.h @@ -35,6 +35,17 @@ char * TALER_WIRE_payto_get_method (const char *payto_url); +/** + * Get the plugin name from the payment method. + * + * @param method the method implemented by the plugin (for + * simplicity, we assume 1 method is implemented by 1 plugin). + * @return the plugin name, NULL if not found. + */ +const char * +TALER_WIRE_get_plugin_from_method (const char *method); + + /** * Load a WIRE plugin. * -- cgit v1.2.3