diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-17 11:35:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-17 11:35:10 +0200 |
commit | b38f251beb236bf8b716f76a130d9a44660ee506 (patch) | |
tree | 1ce10b0613d2cfc2a43fd561d3d6189543042674 /src/include | |
parent | b732d832b63575101be71ecf000dab6103a9e740 (diff) |
-DCE, nicer return values
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 16 |
1 files changed, 8 insertions, 8 deletions
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); |