Change wire-plugin method signature.
This commit is contained in:
parent
093dcc1c73
commit
87b1141f87
@ -375,12 +375,20 @@ struct TALER_WIRE_Plugin
|
|||||||
* needed values. The merchant will use this list to
|
* needed values. The merchant will use this list to
|
||||||
* show a HTML form to the business in order to collect that data.
|
* show a HTML form to the business in order to collect that data.
|
||||||
* This value will have to be freed by the caller.
|
* 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,
|
* @return GNUNET_OK upon successful `enc' allocation and definition,
|
||||||
* GNUNET_NO if _no_ data is needed at all, GNUNET_SYSERR
|
* GNUNET_NO if _no_ data is needed at all, GNUNET_SYSERR
|
||||||
* for all the other cases.
|
* for all the other cases.
|
||||||
*/
|
*/
|
||||||
int
|
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
|
* Send data to the banking institution in order to get the
|
||||||
|
Loading…
Reference in New Issue
Block a user