aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-23 15:23:28 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-23 15:23:28 +0200
commit87b1141f877819a1e8500fe86f04d536998f476e (patch)
treea9fb92f711f5a9a892a5e90b0ced360ed8cb4c35 /src
parent093dcc1c7372701a7bff3d07e6a52291cc6fd146 (diff)
Change wire-plugin method signature.
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_wire_plugin.h10
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