From 053096475fdb1d6d81aa87bce36f1aceb6264038 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 20 Jun 2017 22:30:15 +0200 Subject: fixing #5010 for /refresh/reveal --- src/include/taler_exchangedb_plugin.h | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 0406c8d19..9fe0874bd 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -1441,11 +1441,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session database handle to use * @param session_hash hash over the melt to use for the lookup * @param[out] refresh_session where to store the result - * @return #GNUNET_YES on success, - * #GNUNET_NO if not found, - * #GNUNET_SYSERR on DB failure + * @return transaction status */ - int + enum GNUNET_DB_QueryStatus (*get_refresh_session) (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct GNUNET_HashCode *session_hash, @@ -1500,10 +1498,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session_hash hash to identify refresh session * @param num_newcoins size of the @a denom_pubs array * @param[out] denom_pubs where to write @a num_newcoins denomination keys - * @return #GNUNET_OK on success - * #GNUNET_SYSERR on internal error + * @return transaction status */ - int + enum GNUNET_DB_QueryStatus (*get_refresh_order) (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct GNUNET_HashCode *session_hash, @@ -1541,11 +1538,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session_hash hash to identify refresh session * @param num_coins size of the @a commit_coins array * @param[out] commit_coins array of coin commitments to return - * @return #GNUNET_OK on success - * #GNUNET_NO if not found - * #GNUNET_SYSERR on error + * @return transaction status */ - int + enum GNUNET_DB_QueryStatus (*get_refresh_commit_coins) (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct GNUNET_HashCode *session_hash, @@ -1591,11 +1586,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session database connection to use * @param session_hash hash to identify refresh session * @param[out] tp information to return - * @return #GNUNET_SYSERR on internal error, - * #GNUNET_NO if commitment was not found - * #GNUNET_OK on success + * @return transaction status */ - int + enum GNUNET_DB_QueryStatus (*get_refresh_transfer_public_key) (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct GNUNET_HashCode *session_hash, @@ -1612,10 +1605,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session_hash hash to identify refresh session * @param newcoin_index coin index * @param[out] ev_sig coin signature - * @return #GNUNET_OK on success, #GNUNET_NO if we have no such entry, - * #GNUNET_SYSERR on error + * @return transaction result status */ - int + enum GNUNET_DB_QueryStatus (*get_refresh_out) (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct GNUNET_HashCode *session_hash, @@ -1634,10 +1626,9 @@ struct TALER_EXCHANGEDB_Plugin * @param session_hash hash to identify refresh session * @param newcoin_index coin index * @param ev_sig coin signature - * @return #GNUNET_OK on success - * #GNUNET_SYSERR on error + * @return transaction result status */ - int + enum GNUNET_DB_QueryStatus (*insert_refresh_out) (void *cls, struct TALER_EXCHANGEDB_Session *session, const struct GNUNET_HashCode *session_hash, -- cgit v1.2.3