summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-09-09 16:46:01 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-09-09 23:46:59 +0200
commitcb6aab590b93e619fd5ca1fd18f3dd1fcefd5696 (patch)
tree534297dfec88e9d2fb55ab7b15a6cfc47bd0120f /src/include
parent049e9c89c14f7701f46b5d7b71d54a06331774d3 (diff)
downloadexchange-cb6aab590b93e619fd5ca1fd18f3dd1fcefd5696.tar.gz
exchange-cb6aab590b93e619fd5ca1fd18f3dd1fcefd5696.tar.bz2
exchange-cb6aab590b93e619fd5ca1fd18f3dd1fcefd5696.zip
Provide method to launch Fakebank withOUT running tests.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_bank_lib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_testing_bank_lib.h b/src/include/taler_testing_bank_lib.h
index 9948a7f2d..f72b804cd 100644
--- a/src/include/taler_testing_bank_lib.h
+++ b/src/include/taler_testing_bank_lib.h
@@ -68,6 +68,17 @@ TALER_TESTING_run_bank (const char *config_filename,
const char *bank_url);
/**
+ * Runs the Fakebank by guessing / extracting the portnumber
+ * from the base URL.
+ *
+ * @param bank_url bank's base URL.
+ * @return the fakebank process handle, or NULL if any
+ * error occurs.
+ */
+struct TALER_FAKEBANK_Handle *
+TALER_TESTING_run_fakebank (const char *bank_url);
+
+/**
* Prepare the bank execution. Check if the port is available
* and reset database.
*