summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-08-19 00:49:16 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-08-19 00:49:16 +0200
commit96e047b186245ab8f0883bb0e0fe9dfaff3ef407 (patch)
tree9f8523e0303ba3337f86e6ca516b9f52b523747c /src/include
parent624a9ac6dcae8ad40709c184d3502bcfdcbb9de2 (diff)
downloadexchange-96e047b186245ab8f0883bb0e0fe9dfaff3ef407.tar.gz
exchange-96e047b186245ab8f0883bb0e0fe9dfaff3ef407.tar.bz2
exchange-96e047b186245ab8f0883bb0e0fe9dfaff3ef407.zip
add remote benchmarking
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 8db59ee45..0db27d0e6 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -464,6 +464,7 @@ typedef void
(*TALER_TESTING_Main)(void *cls,
struct TALER_TESTING_Interpreter *is);
+
/**
* Install signal handlers plus schedules the main wrapper
* around the "run" method.
@@ -473,16 +474,22 @@ typedef void
* @param main_cb_cls a closure for "run", typically NULL.
* @param config_filename configuration filename.
* @param exchanged exchange process handle: will be put in the
- * state as some commands - e.g. revoke - need to signal it,
- * for example to let it know to reload the key state.
- *
- * @return FIXME: not sure what 'is.result' is at this stage.
+ * state as some commands - e.g. revoke - need to send
+ * signal to it, for example to let it know to reload the
+ * key state.. if NULL, the interpreter will run without
+ * trying to connect to the exchange first.
+ * @param exchange_connect GNUNET_YES if the test should connect
+ * to the exchange, GNUNET_NO otherwise
+ * @return #GNUNET_OK if all is okay, != #GNUNET_OK otherwise.
+ * non-GNUNET_OK codes are #GNUNET_SYSERR most of the
+ * times.
*/
int
TALER_TESTING_setup (TALER_TESTING_Main main_cb,
void *main_cb_cls,
const char *config_filename,
- struct GNUNET_OS_Process *exchanged);
+ struct GNUNET_OS_Process *exchanged,
+ int exchange_connect);
/**