From 17edb09f384689da5923689dfe4b6d071797091c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 11 Nov 2018 16:45:09 +0100 Subject: extend testing logic to setup handle for the auditor --- src/include/taler_testing_auditor_lib.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/include/taler_testing_auditor_lib.h') diff --git a/src/include/taler_testing_auditor_lib.h b/src/include/taler_testing_auditor_lib.h index 2a11b74c..554fadf5 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 -- cgit v1.2.3