summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_loop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-21 16:27:58 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-21 16:27:58 +0100
commitbba0ec72fa9638685f77c7f8d9d371ab776a709f (patch)
treef05b2385b4027d3a41bac4e8137f069079edd99e /src/exchange-lib/testing_api_loop.c
parent6ba7747ac332d71465ff94b04f44f06c32477145 (diff)
downloadexchange-bba0ec72fa9638685f77c7f8d9d371ab776a709f.tar.gz
exchange-bba0ec72fa9638685f77c7f8d9d371ab776a709f.tar.bz2
exchange-bba0ec72fa9638685f77c7f8d9d371ab776a709f.zip
finish new withdraw command implementation
Diffstat (limited to 'src/exchange-lib/testing_api_loop.c')
-rw-r--r--src/exchange-lib/testing_api_loop.c12
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`