aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_twister_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-08-27 00:35:01 +0200
committerChristian Grothoff <christian@grothoff.org>2024-08-27 00:35:11 +0200
commit740194aaa7201f5d294a7de4c92b417b83279d86 (patch)
tree4e71a6dbc9e597b4914ee8595775a335eea45029 /src/include/taler_twister_testing_lib.h
parent37ea1398bbdbd2ee297b445fab0c919f0d32bb79 (diff)
-style fixes
Diffstat (limited to 'src/include/taler_twister_testing_lib.h')
-rw-r--r--src/include/taler_twister_testing_lib.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/include/taler_twister_testing_lib.h b/src/include/taler_twister_testing_lib.h
index cdafab04b..711d6b652 100644
--- a/src/include/taler_twister_testing_lib.h
+++ b/src/include/taler_twister_testing_lib.h
@@ -29,7 +29,29 @@
#include "taler_testing_lib.h"
#define TWISTER_FAIL() \
- do {GNUNET_break (0); return NULL; } while (0)
+ do {GNUNET_break (0); return NULL; } while (0)
+
+
+/**
+ * Prepare twister for execution; mainly checks whether the
+ * HTTP port is available and construct the base URL based on it.
+ *
+ * @param config_filename configuration file name.
+ * @return twister base URL, NULL upon errors.
+ */
+char *
+TALER_TWISTER_prepare_twister (const char *config_filename);
+
+
+/**
+ * Run the twister service.
+ *
+ * @param config_filename configuration file name.
+ * @return twister process handle, NULL upon errors.
+ */
+struct GNUNET_OS_Process *
+TALER_TWISTER_run_twister (const char *config_filename);
+
/**
* Define a "hack response code" CMD. This causes the next