From 87b1141f877819a1e8500fe86f04d536998f476e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 23 Jul 2018 15:23:28 +0200 Subject: Change wire-plugin method signature. --- src/include/taler_wire_plugin.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/include/taler_wire_plugin.h') diff --git a/src/include/taler_wire_plugin.h b/src/include/taler_wire_plugin.h index 203d6e37d..3707d7afc 100644 --- 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 -- cgit v1.2.3