diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-20 11:20:48 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-06-20 11:20:48 +0200 |
commit | 1d83e013200dd7a18afe95e7b3d21be9d7daddb9 (patch) | |
tree | c3191a74f737b2726f6f8b5275cafd8faab8a5a7 /src/include | |
parent | 61fecfcd6f3e2e66e136c22195c38c99be8baa31 (diff) | |
download | exchange-1d83e013200dd7a18afe95e7b3d21be9d7daddb9.tar.xz |
batch CMD skeleton + include defs.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 57e2f0df9..4cfb25a9b 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1806,4 +1806,20 @@ TALER_TESTING_get_trait_rejected unsigned int index, const char **rejected_reference); + +/** + * Create a "batch" command. Such command takes a + * end_CMD-terminated array of CMDs and executed them. + * Once it hits the end CMD, it passes the control + * to the next top-level CMD, regardless of it being + * another batch or ordinary CMD. + * + * @param label the command label. + * @param batch array of CMDs to execute. + * + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_batch (const char *label, + struct TALER_TESTING_Command *batch); #endif |