From ae3e850c946947cead6b9330f7c8e9764bd5f934 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Mar 2017 12:01:06 +0100 Subject: update getopt config parsing style to match 'getopt' GNUnet branch API change --- src/include/taler_amount_lib.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/taler_amount_lib.h') diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index 555894f4..e6c36fed 100644 --- a/src/include/taler_amount_lib.h +++ b/src/include/taler_amount_lib.h @@ -151,6 +151,16 @@ TALER_amount_get_zero (const char *cur, struct TALER_Amount *denom); +/** + * Test if the given amount is valid. + * + * @param amount amount to check + * @return #GNUNET_OK if @a amount is valid + */ +int +TALER_amount_is_valid (const struct TALER_Amount *amount); + + /** * Convert amount from host to network representation. * -- cgit v1.2.3