diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-23 15:23:28 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-23 15:23:28 +0200 |
commit | 87b1141f877819a1e8500fe86f04d536998f476e (patch) | |
tree | a9fb92f711f5a9a892a5e90b0ced360ed8cb4c35 /src | |
parent | 093dcc1c7372701a7bff3d07e6a52291cc6fd146 (diff) |
Change wire-plugin method signature.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/taler_wire_plugin.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 |