summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_auditor_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-11 16:45:09 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-11 16:45:09 +0100
commit17edb09f384689da5923689dfe4b6d071797091c (patch)
tree826f63700898dd4c939ef0a8d105c210cc60c7a5 /src/include/taler_testing_auditor_lib.h
parent4885b899c76d11de06cf0ac5050985698045505b (diff)
downloadexchange-17edb09f384689da5923689dfe4b6d071797091c.tar.gz
exchange-17edb09f384689da5923689dfe4b6d071797091c.tar.bz2
exchange-17edb09f384689da5923689dfe4b6d071797091c.zip
extend testing logic to setup handle for the auditor
Diffstat (limited to 'src/include/taler_testing_auditor_lib.h')
-rw-r--r--src/include/taler_testing_auditor_lib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/taler_testing_auditor_lib.h b/src/include/taler_testing_auditor_lib.h
index 2a11b74cb..554fadf5c 100644
--- a/src/include/taler_testing_auditor_lib.h
+++ b/src/include/taler_testing_auditor_lib.h
@@ -36,4 +36,22 @@
/* ********************* Helper functions ********************* */
+/**
+ * Install signal handlers plus schedules the main wrapper
+ * around the "run" method.
+ *
+ * @param main_cb the "run" method which contains all the
+ * commands.
+ * @param main_cb_cls a closure for "run", typically NULL.
+ * @param config_filename configuration filename.
+ * @return #GNUNET_OK if all is okay, != #GNUNET_OK otherwise.
+ * non-GNUNET_OK codes are #GNUNET_SYSERR most of the
+ * times.
+ */
+int
+TALER_TESTING_AUDITOR_setup (TALER_TESTING_Main main_cb,
+ void *main_cb_cls,
+ const char *config_filename);
+
+
#endif