From b38f251beb236bf8b716f76a130d9a44660ee506 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Sep 2021 11:35:10 +0200 Subject: -DCE, nicer return values --- src/include/taler_exchangedb_plugin.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 4037ebac0..03e0b64c3 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2059,8 +2059,8 @@ struct TALER_EXCHANGEDB_Plugin * @param cls the @e cls of this struct with the plugin-specific state * @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure */ - int - (*drop_tables) (void *cls); + enum GNUNET_GenericReturnValue + (*drop_tables)(void *cls); /** @@ -2069,8 +2069,8 @@ struct TALER_EXCHANGEDB_Plugin * @param cls the @e cls of this struct with the plugin-specific state * @return #GNUNET_OK upon success; #GNUNET_SYSERR upon failure */ - int - (*create_tables) (void *cls); + enum GNUNET_GenericReturnValue + (*create_tables)(void *cls); /** @@ -2081,9 +2081,9 @@ struct TALER_EXCHANGEDB_Plugin * must point to a constant * @return #GNUNET_OK on success */ - int - (*start) (void *cls, - const char *name); + enum GNUNET_GenericReturnValue + (*start)(void *cls, + const char *name); /** @@ -2094,7 +2094,7 @@ struct TALER_EXCHANGEDB_Plugin * must point to a constant * @return #GNUNET_OK on success */ - int + enum GNUNET_GenericReturnValue (*start_read_committed)(void *cls, const char *name); -- cgit v1.2.3