diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-09-15 10:54:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-09-15 10:54:10 +0200 |
commit | 8843d60e683157f40e1908a4dc57b82f6f6bb6ee (patch) | |
tree | 177c6bea47fb7580251aa9d3242f971d26970efe /src/include | |
parent | fc19601efc46cf31bf81c0d5980d6802148f5964 (diff) |
fix memory leak and style issues
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_wire_plugin.h | 50 |
1 files changed, 2 insertions, 48 deletions
diff --git a/src/include/taler_wire_plugin.h b/src/include/taler_wire_plugin.h index eb43f2277..ffc7adf59 100644 --- a/src/include/taler_wire_plugin.h +++ b/src/include/taler_wire_plugin.h @@ -96,7 +96,8 @@ struct TALER_WIRE_TransferDetails * * @param cls closure * @param ec taler error code - * @param dir direction of the transfer + * @param dir direction of the transfer, #TALER_BANK_DIRECTION_NONE when + * the iteration is complete * @param row_off identification of the position at which we are querying * @param row_off_size number of bytes in @a row_off * @param details details about the wire transfer @@ -368,53 +369,6 @@ struct TALER_WIRE_Plugin (*reject_transfer_cancel)(void *cls, struct TALER_WIRE_RejectHandle *rh); - - /** - * Ask the plugin which data is needed to register the merchant - * into the banking institution. - * - * @param enc[out] where to store the JSON formatted list of - * 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)(char **out, - unsigned int private_person, - unsigned int business); - - /** - * Send data to the banking institution in order to get the - * merchant registered. - * - * @param cls closure - * @param body subset of information to be sent to the bank. - * The plugin implementation is free to modify this value. - * @param mrcb Callback to process the outcome. - */ - struct TALER_WIRE_MerchantRegisterHandle * - (*merchant_register)(void *cls, - const char *body, - TALER_WIRE_MerchantRegisterCallback mrcb); - - /** - * Cancel pending operation of merchant registering. - * - * @param cls closure - * @param mrh handle to the pending operation to be cancelled. - */ - void - (*merchant_register_cancel)(void *cls, - struct TALER_WIRE_MerchantRegisterHandle *mrh); }; |