diff options
Diffstat (limited to 'src/include')
-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 |