summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-21 20:59:27 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-21 20:59:27 +0100
commitc1c242e3c77955ffb6f8503bac618085ced48be2 (patch)
tree974811fef151e01848b56ce674765f7868d92352 /src/include/taler_testing_lib.h
parentc420c340f2b5c9c3b4fe8fa94cc4258ae0d85517 (diff)
downloadexchange-c1c242e3c77955ffb6f8503bac618085ced48be2.tar.gz
exchange-c1c242e3c77955ffb6f8503bac618085ced48be2.tar.bz2
exchange-c1c242e3c77955ffb6f8503bac618085ced48be2.zip
Export new API
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h15
1 files changed, 15 insertions, 0 deletions
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 ********* */
/**