From bba0ec72fa9638685f77c7f8d9d371ab776a709f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 21 Jan 2018 16:27:58 +0100 Subject: finish new withdraw command implementation --- src/exchange-lib/testing_api_loop.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/exchange-lib/testing_api_loop.c') diff --git a/src/exchange-lib/testing_api_loop.c b/src/exchange-lib/testing_api_loop.c index ae721f65..d1e153af 100644 --- a/src/exchange-lib/testing_api_loop.c +++ b/src/exchange-lib/testing_api_loop.c @@ -166,6 +166,18 @@ TALER_TESTING_cmd_end (void) } +/** + * Obtain current label. + */ +const char * +TALER_TESTING_interpreter_get_current_label (struct TALER_TESTING_Interpreter *is) +{ + struct TALER_TESTING_Command *cmd = &is->commands[is->ip]; + + return cmd->label; +} + + /** * Run the main interpreter loop that performs exchange operations. * -- cgit v1.2.3