summaryrefslogtreecommitdiff
path: root/src/include/taler_testing_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-04-06 13:54:08 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-04-06 13:54:08 +0200
commit89431a41b795cfbd14d6ce08dc33272e4a9ab9e6 (patch)
tree76fa0ff047d923e9a73c68201ac4d40ab8819c44 /src/include/taler_testing_lib.h
parent22cfc59d904c02b752547459d599e2e1cdce75a9 (diff)
downloadexchange-89431a41b795cfbd14d6ce08dc33272e4a9ab9e6.tar.gz
exchange-89431a41b795cfbd14d6ce08dc33272e4a9ab9e6.tar.bz2
exchange-89431a41b795cfbd14d6ce08dc33272e4a9ab9e6.zip
-complete va coin parser of purse_create_deposit CMD
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 6980d9d81..7c4071521 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -941,6 +941,21 @@ TALER_TESTING_has_in_name (const char *prog,
const char *marker);
+/**
+ * Parse reference to a coin.
+ *
+ * @param coin_reference of format $LABEL['#' $INDEX]?
+ * @param[out] cref where we return a copy of $LABEL
+ * @param[out] idx where we set $INDEX
+ * @return #GNUNET_SYSERR if $INDEX is present but not numeric
+ */
+enum GNUNET_GenericReturnValue
+TALER_TESTING_parse_coin_reference (
+ const char *coin_reference,
+ char **cref,
+ unsigned int *idx);
+
+
/* ************** Specific interpreter commands ************ */