From c1c242e3c77955ffb6f8503bac618085ced48be2 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 21 Dec 2018 20:59:27 +0100 Subject: Export new API --- src/include/taler_testing_lib.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/include/taler_testing_lib.h') diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 40b1d6b9c..43eb0e1b7 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1445,6 +1445,21 @@ TALER_TESTING_cmd_batch_get_current (const struct TALER_TESTING_Command *cmd); struct TALER_TESTING_Command TALER_TESTING_cmd_serialize_keys (const char *label); + +/** + * Make a connect-with-state CMD. This command + * will use a serialized key state to reconnect + * to the exchange. + * + * @param label command label + * @param state_reference label of a CMD offering + * a serialized key state. + * @return the CMD. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_connect_with_state (const char *label, + const char *state_reference); + /* *** Generic trait logic for implementing traits ********* */ /** -- cgit v1.2.3