diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-15 22:58:07 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-15 22:58:07 +0100 |
commit | cbb021b6bf996c79530ae3dda98ec85f716e9d07 (patch) | |
tree | fe70a971715c7d5e594f2628a0f8eda78dcb28d2 /src/include | |
parent | 50a33389dabe9660b08fc3fac616a580c9594e20 (diff) | |
download | exchange-cbb021b6bf996c79530ae3dda98ec85f716e9d07.tar.xz |
-fix compiler warning: add missing prototype
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 20 |
1 files changed, 19 insertions, 1 deletions
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); |