summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-10-25 13:54:38 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-27 09:23:13 +0200
commit58ea04167ca46e7ef82d25900cae731741854279 (patch)
treec322cab80cddb21cad4e809b5d8fda41b4b48819 /src/include
parent201d6ea5c9eac6f8e02cfcff996eb5e871d3b53f (diff)
downloadexchange-58ea04167ca46e7ef82d25900cae731741854279.tar.gz
exchange-58ea04167ca46e7ef82d25900cae731741854279.tar.bz2
exchange-58ea04167ca46e7ef82d25900cae731741854279.zip
-fix misc FTBFS
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_auditor_service.h6
-rw-r--r--src/include/taler_crypto_lib.h24
2 files changed, 27 insertions, 3 deletions
diff --git a/src/include/taler_auditor_service.h b/src/include/taler_auditor_service.h
index d84ecd5eb..9e2e46d28 100644
--- a/src/include/taler_auditor_service.h
+++ b/src/include/taler_auditor_service.h
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2020 Taler Systems SA
+ Copyright (C) 2014-2021 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
@@ -254,8 +254,8 @@ typedef void
struct TALER_AUDITOR_DepositConfirmationHandle *
TALER_AUDITOR_deposit_confirmation (
struct TALER_AUDITOR_Handle *auditor,
- const struct GNUNET_HashCode *h_wire,
- const struct GNUNET_HashCode *h_contract_terms,
+ const struct TALER_MerchantWireHash *h_wire,
+ const struct TALER_PrivateContractHash *h_contract_terms,
struct GNUNET_TIME_Absolute timestamp,
struct GNUNET_TIME_Absolute refund_deadline,
const struct TALER_Amount *amount_without_fee,
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 561f2bd0a..3507ebe5e 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -662,6 +662,30 @@ TALER_denom_pub_hash (const struct TALER_DenominationPublicKey *denom_pub,
/**
+ * Make a (deep) copy of the given @a denom_src to
+ * @a denom_dst.
+ *
+ * @param[out] denom_dst target to copy to
+ * @param denom_str public key to copy
+ */
+void
+TALER_denom_pub_deep_copy (struct TALER_DenominationPublicKey *denom_dst,
+ const struct TALER_DenominationPublicKey *denom_src);
+
+
+/**
+ * Compare two denomination public keys.
+ *
+ * @param denom1 first key
+ * @param denom2 second key
+ * @return 0 if the keys are equal, otherwise -1 or 1
+ */
+int
+TALER_denom_pub_cmp (const struct TALER_DenominationPublicKey *denom1,
+ const struct TALER_DenominationPublicKey *denom2);
+
+
+/**
* Obtain denomination public key from a denomination private key.
*
* @param denom_priv private key to convert