aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-30 15:17:03 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-30 15:17:03 +0100
commitf68e7d0b07aa36364ef9d546afc51ecaea650479 (patch)
tree78afd11aac8b431ead3001c79a87324f5169d4cf /src/include
parent452ab68423d0a6ee78e5f360251d0d7f2262f1ab (diff)
Adding map: wire method name <--> plugin name.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_wire_lib.h11
1 files changed, 11 insertions, 0 deletions
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
@@ -36,6 +36,17 @@ 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.
*
* @param cfg configuration to use