commit 87b1141f877819a1e8500fe86f04d536998f476e
parent 093dcc1c7372701a7bff3d07e6a52291cc6fd146
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 23 Jul 2018 15:23:28 +0200
Change wire-plugin method signature.
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/include/taler_wire_plugin.h b/src/include/taler_wire_plugin.h
@@ -375,12 +375,20 @@ struct TALER_WIRE_Plugin
* needed values. The merchant will use this list to
* show a HTML form to the business in order to collect that data.
* This value will have to be freed by the caller.
+ * @param private_person GNUNET_OK if the merchant to be registered
+ * has a legal status of "person", for example they are freelance
+ * journalists.
+ * @param business GNUNET_OK if the merchant has the legal status
+ * of "business", so to say a "ordinary" shop. Cannot be
+ * both private and business though.
* @return GNUNET_OK upon successful `enc' allocation and definition,
* GNUNET_NO if _no_ data is needed at all, GNUNET_SYSERR
* for all the other cases.
*/
int
- (*merchant_data)(void);
+ (*merchant_data)(char **out,
+ unsigned int private_person,
+ unsigned int business);
/**
* Send data to the banking institution in order to get the