From 544ba42f445cbff2f544d7e1c83aaffcfa75af3a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 21 Feb 2022 00:23:23 +0100 Subject: -big renaming of structs for consistent naming with P suffix --- src/json/json.c | 6 +++--- src/json/json_wire.c | 2 +- src/json/test_json.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/json') diff --git a/src/json/json.c b/src/json/json.c index da4472522..d4ac37489 100644 --- a/src/json/json.c +++ b/src/json/json.c @@ -490,7 +490,7 @@ forget (const json_t *in, enum GNUNET_GenericReturnValue TALER_JSON_contract_hash (const json_t *json, - struct TALER_PrivateContractHash *hc) + struct TALER_PrivateContractHashP *hc) { enum GNUNET_GenericReturnValue ret; json_t *cjson; @@ -1009,7 +1009,7 @@ TALER_JSON_get_error_code2 (const void *data, void TALER_deposit_extension_hash (const json_t *extensions, - struct TALER_ExtensionContractHash *ech) + struct TALER_ExtensionContractHashP *ech) { GNUNET_assert (GNUNET_OK == dump_and_hash (extensions, @@ -1038,7 +1038,7 @@ TALER_JSON_canonicalize (const json_t *input) enum GNUNET_GenericReturnValue TALER_JSON_extensions_config_hash (const json_t *config, - struct TALER_ExtensionConfigHash *ech) + struct TALER_ExtensionConfigHashP *ech) { return dump_and_hash (config, "taler-extension-configuration", diff --git a/src/json/json_wire.c b/src/json/json_wire.c index 139f41db1..544b56453 100644 --- a/src/json/json_wire.c +++ b/src/json/json_wire.c @@ -26,7 +26,7 @@ enum GNUNET_GenericReturnValue TALER_JSON_merchant_wire_signature_hash (const json_t *wire_s, - struct TALER_MerchantWireHash *hc) + struct TALER_MerchantWireHashP *hc) { const char *payto_uri; struct TALER_WireSaltP salt; diff --git a/src/json/test_json.c b/src/json/test_json.c index 5fe51d467..d37f66eaf 100644 --- a/src/json/test_json.c +++ b/src/json/test_json.c @@ -91,8 +91,8 @@ path_cb (void *cls, static int test_contract (void) { - struct TALER_PrivateContractHash h1; - struct TALER_PrivateContractHash h2; + struct TALER_PrivateContractHashP h1; + struct TALER_PrivateContractHashP h2; json_t *c1; json_t *c2; json_t *c3; @@ -384,7 +384,7 @@ test_json_canon (void) static int test_rfc8785 (void) { - struct TALER_PrivateContractHash h1; + struct TALER_PrivateContractHashP h1; json_t *c1; c1 = json_pack ("{s:s}", -- cgit v1.2.3