diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-15 12:01:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-15 12:01:06 +0100 |
commit | ae3e850c946947cead6b9330f7c8e9764bd5f934 (patch) | |
tree | c031aeb264149454869f1ace7bf8db0a04d3002b /src/include/taler_amount_lib.h | |
parent | 296f919ce4dcd9123c402d52d18afae7e353b11a (diff) | |
download | exchange-ae3e850c946947cead6b9330f7c8e9764bd5f934.tar.xz |
update getopt config parsing style to match 'getopt' GNUnet branch API change
Diffstat (limited to 'src/include/taler_amount_lib.h')
-rw-r--r-- | src/include/taler_amount_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index 555894f4b..e6c36fed8 100644 --- a/src/include/taler_amount_lib.h +++ b/src/include/taler_amount_lib.h @@ -152,6 +152,16 @@ TALER_amount_get_zero (const char *cur, /** + * 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. * * @param res where to store amount in network representation |