aboutsummaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-21 00:23:23 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-21 00:23:23 +0100
commit544ba42f445cbff2f544d7e1c83aaffcfa75af3a (patch)
treef942bcc479657e794b01c94c796013aa58098781 /src/json
parent19624fd776f28812354f7e2b50b26e984ff077ab (diff)
downloadexchange-544ba42f445cbff2f544d7e1c83aaffcfa75af3a.tar.xz
-big renaming of structs for consistent naming with P suffix
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json.c6
-rw-r--r--src/json/json_wire.c2
-rw-r--r--src/json/test_json.c6
3 files changed, 7 insertions, 7 deletions
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}",