diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-04-06 13:54:08 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-04-06 13:54:08 +0200 |
commit | 89431a41b795cfbd14d6ce08dc33272e4a9ab9e6 (patch) | |
tree | 76fa0ff047d923e9a73c68201ac4d40ab8819c44 /src/include | |
parent | 22cfc59d904c02b752547459d599e2e1cdce75a9 (diff) | |
download | exchange-89431a41b795cfbd14d6ce08dc33272e4a9ab9e6.tar.xz |
-complete va coin parser of purse_create_deposit CMD
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 15 |
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 ************ */ |