summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-28 23:43:05 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-28 23:43:05 +0200
commitf486df99c87f4ea660a4e39fe4497c9fd2afa847 (patch)
tree27e2d958bde887eebaa0d6460fdb378c3b2c8b28 /src/include
parent8a89eec7b4d3acab00490f2716e230908c80ab7a (diff)
downloadexchange-f486df99c87f4ea660a4e39fe4497c9fd2afa847.tar.gz
exchange-f486df99c87f4ea660a4e39fe4497c9fd2afa847.tar.bz2
exchange-f486df99c87f4ea660a4e39fe4497c9fd2afa847.zip
fail if exchange-account configuration is definitively wrong (#5642)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchangedb_lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/taler_exchangedb_lib.h b/src/include/taler_exchangedb_lib.h
index 33ead98bb..5400330ee 100644
--- a/src/include/taler_exchangedb_lib.h
+++ b/src/include/taler_exchangedb_lib.h
@@ -438,8 +438,9 @@ typedef void
* @param cfg configuration to use
* @param cb callback to invoke
* @param cb_cls closure for @a cb
+ * @return #GNUNET_OK if the configuration seems valid, #GNUNET_SYSERR if not
*/
-void
+int
TALER_EXCHANGEDB_find_accounts (const struct GNUNET_CONFIGURATION_Handle *cfg,
TALER_EXCHANGEDB_AccountCallback cb,
void *cb_cls);