From cbb021b6bf996c79530ae3dda98ec85f716e9d07 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Jan 2023 22:58:07 +0100 Subject: -fix compiler warning: add missing prototype --- src/include/taler_testing_lib.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/include/taler_testing_lib.h') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 55d36b2de..0418ab17e 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -868,6 +868,24 @@ struct GNUNET_OS_Process * TALER_TESTING_run_bank (const char *config_filename, const char *bank_url); + +/** + * Prepare libeufin sandbox execution. Check if the port is available and + * reset database. + * + * @param config_filename configuration file name. + * @param reset_db should we reset the bank's database + * @param config_section which configuration section should be used + * @param[out] bc set to the bank's configuration data + * @return #GNUNET_OK on success + */ +enum GNUNET_GenericReturnValue +TALER_TESTING_prepare_libeufin (const char *config_filename, + bool reset_db, + const char *config_section, + struct TALER_TESTING_BankConfiguration *bc); + + /** * Start the (nexus) bank process. Assume the port * is available and the database is clean. Use the "prepare @@ -909,7 +927,7 @@ TALER_TESTING_run_fakebank (const char *bank_url, */ enum GNUNET_GenericReturnValue TALER_TESTING_prepare_bank (const char *config_filename, - int reset_db, + bool reset_db, const char *config_section, struct TALER_TESTING_BankConfiguration *bc); -- cgit v1.2.3