From 6eed8917c37ad047ee95e964cd516d82aacac473 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 31 Mar 2023 13:50:32 +0200 Subject: fix exchangedb build errors --- src/include/taler_exchangedb_plugin.h | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index cee8fb883..30d48833c 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -29,19 +29,17 @@ #include "taler_extensions_policy.h" - - struct TALER_EXCHANGEDB_CoinInfo { - uint64_t *known_coin_id; - struct TALER_DenominationHashP *denom_hash; - struct TALER_AgeCommitmentHash *h_age_commitment; - bool *existed; + uint64_t known_coin_id; + struct TALER_DenominationHashP denom_hash; + struct TALER_AgeCommitmentHash h_age_commitment; + bool existed; + bool denom_conflict; + bool age_conflict; }; - - /** * Information about a denomination key. */ @@ -900,21 +898,6 @@ struct TALER_EXCHANGEDB_DenominationKeyMetaData }; - - - - - - - - - - - - - - - /** * Signature of a function called with information about the exchange's * denomination keys. @@ -4055,10 +4038,10 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_DenominationHashP *denom_pub_hash, struct TALER_AgeCommitmentHash *age_hash); - enum TALER_EXCHANGEDB_CoinKnownStatus + enum GNUNET_DB_QueryStatus (*batch_ensure_coin_known)(void *cls, const struct TALER_CoinPublicInfo *coin, - const struct + struct TALER_EXCHANGEDB_CoinInfo *result, unsigned int coin_length, unsigned int batch_size); -- cgit v1.2.3