summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-06-25 13:59:47 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-06-25 13:59:47 +0200
commit75733ee00efc6d5342ed8b4fccd637efaebdce06 (patch)
tree68d2c58ed44001ad4ae297ebf0795c54ae56a2dc /src/include/taler_testing_lib.h
parente2f44ea7b3b745ae349a69ac45b3217dc44dd43a (diff)
downloadexchange-75733ee00efc6d5342ed8b4fccd637efaebdce06.tar.gz
exchange-75733ee00efc6d5342ed8b4fccd637efaebdce06.tar.bz2
exchange-75733ee00efc6d5342ed8b4fccd637efaebdce06.zip
more work on atomizing exchange API: deposit
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r--src/include/taler_testing_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 6554bc95e..2ef7ef602 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -2694,6 +2694,7 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits,
op (relative_time, const struct GNUNET_TIME_Relative) \
op (exchange, struct TALER_EXCHANGE_Handle) \
op (fakebank, struct TALER_FAKEBANK_Handle) \
+ op (keys, struct TALER_EXCHANGE_Keys) \
op (process, struct GNUNET_OS_Process *)
@@ -2751,4 +2752,15 @@ TALER_TESTING_get_exchange_url (
struct TALER_TESTING_Interpreter *is);
+/**
+ * Get exchange keys from interpreter. Convenience function.
+ *
+ * @param is interpreter state.
+ * @return the exchange keys, or NULL on error
+ */
+struct TALER_EXCHANGE_Keys *
+TALER_TESTING_get_keys (
+ struct TALER_TESTING_Interpreter *is);
+
+
#endif