diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-30 15:17:03 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-30 15:17:03 +0100 |
commit | f68e7d0b07aa36364ef9d546afc51ecaea650479 (patch) | |
tree | 78afd11aac8b431ead3001c79a87324f5169d4cf /src/include/taler_wire_lib.h | |
parent | 452ab68423d0a6ee78e5f360251d0d7f2262f1ab (diff) |
Adding map: wire method name <--> plugin name.
Diffstat (limited to 'src/include/taler_wire_lib.h')
-rw-r--r-- | src/include/taler_wire_lib.h | 11 |
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 |