diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-22 22:45:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-22 22:45:41 +0200 |
commit | 9ed99558e21ac6b81f112670b982262d2349e5a5 (patch) | |
tree | 2b4e5b064a1968f38e736794cc13f38e955f82f4 /src/include | |
parent | a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 (diff) | |
download | exchange-9ed99558e21ac6b81f112670b982262d2349e5a5.tar.xz |
-fix clang compiler warnings
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 58d319aae..261ffb184 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2673,9 +2673,11 @@ typedef void * @param left amount left in the reserve * @param account_details information about the reserve's bank account, in payto://-format * @param expiration_date when did the reserve expire - * @return transaction status code to pass on + * @return #GNUNET_OK on success, + * #GNUNET_NO to retry + * #GNUNET_SYSERR on hard failures (exit) */ -typedef enum GNUNET_DB_QueryStatus +typedef enum GNUNET_GenericReturnValue (*TALER_EXCHANGEDB_ReserveExpiredCallback)( void *cls, const struct TALER_ReservePublicKeyP *reserve_pub, @@ -5047,9 +5049,10 @@ struct TALER_EXCHANGEDB_Plugin * changed. * * @param cls the @e cls of this struct with the plugin-specific state - * @return transaction status code + * @return #GNUNET_OK on success + * #GNUNET_SYSERR on failure */ - enum GNUNET_DB_QueryStatus + enum GNUNET_GenericReturnValue (*delete_shard_locks)(void *cls); |