diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-02-09 22:02:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-09 22:02:29 +0100 |
commit | 025922950dcf39700625e04be9f6037af67dddf5 (patch) | |
tree | 89b14956f470210e716b46dde8615221e51d1d72 /src/include | |
parent | e6598cfa1a81f6b040718933496436987d21194b (diff) | |
download | exchange-025922950dcf39700625e04be9f6037af67dddf5.tar.xz |
pass exchange values to /recoup
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_json_lib.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index 21b6d4e79..fef733917 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -133,6 +133,20 @@ TALER_JSON_pack_blinded_planchet ( /** * Generate packer instruction for a JSON field of type + * exchange withdraw values (/csr). + * + * @param name name of the field to add to the object + * @param ewv values to transmit + * @return json pack specification + */ +struct GNUNET_JSON_PackSpec +TALER_JSON_pack_exchange_withdraw_values ( + const char *name, + const struct TALER_ExchangeWithdrawValues *ewv); + + +/** + * Generate packer instruction for a JSON field of type * amount. * * @param name name of the field to add to the object @@ -275,6 +289,20 @@ TALER_JSON_spec_blinded_denom_sig ( /** + * Generate line in parser specification for + * exchange withdraw values (/csr). + * + * @param field name of the field + * @param[out] ewv the exchange withdraw values to initialize + * @return corresponding field spec + */ +struct GNUNET_JSON_Specification +TALER_JSON_spec_exchange_withdraw_values ( + const char *field, + struct TALER_ExchangeWithdrawValues *ewv); + + +/** * Generate line in parser specification for a * blinded planchet. * |