diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-12-25 00:08:48 +0800 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-12-25 00:08:48 +0800 |
commit | e690e53ebfc3d810e5ffdf90c86d0d4159a7c8da (patch) | |
tree | 1bd89843d574d3401e62f06c8077f4ab2c62c123 /src/include | |
parent | 7a39d112f0b266b53a45f80ecc6bbde7fdf8675d (diff) |
api update to support refactored merchant order creation
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_json_lib.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index 38668fdcc..859ec8879 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -581,16 +581,18 @@ TALER_JSON_contract_hash (const json_t *json, /** - * Take a given contract with "forgettable" fields marked - * but with 'True' instead of a real salt. Replaces all - * 'True' values with proper random salts. Fails if any - * forgettable markers are neither 'True' nor valid salts. + * Take a given @a contract with "forgettable" fields marked in the @a spec + * with 'True' instead of a real salt. Replaces all 'True' values with proper + * random salts in the actual @a contract. Fails if any forgettable markers + * are neither 'True' nor valid salts. * - * @param[in,out] json JSON to transform + * @param spec specification with forgettable fields + * @param[in,out] contract JSON contract to transform * @return #GNUNET_OK on success */ enum GNUNET_GenericReturnValue -TALER_JSON_contract_seed_forgettable (json_t *json); +TALER_JSON_contract_seed_forgettable (const json_t *spec, + json_t *contract); /** |