diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-01-21 16:27:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-01-21 16:27:58 +0100 |
commit | bba0ec72fa9638685f77c7f8d9d371ab776a709f (patch) | |
tree | f05b2385b4027d3a41bac4e8137f069079edd99e /src/exchange-lib/testing_api_loop.c | |
parent | 6ba7747ac332d71465ff94b04f44f06c32477145 (diff) | |
download | exchange-bba0ec72fa9638685f77c7f8d9d371ab776a709f.tar.xz |
finish new withdraw command implementation
Diffstat (limited to 'src/exchange-lib/testing_api_loop.c')
-rw-r--r-- | src/exchange-lib/testing_api_loop.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/exchange-lib/testing_api_loop.c b/src/exchange-lib/testing_api_loop.c index ae721f65e..d1e153af6 100644 --- a/src/exchange-lib/testing_api_loop.c +++ b/src/exchange-lib/testing_api_loop.c @@ -167,6 +167,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. * * @param cls contains the `struct TALER_TESTING_Interpreter` |