diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-20 02:29:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-20 02:29:33 +0100 |
commit | a38fa32484286d2895dca10d3f53d3c7599d2f3b (patch) | |
tree | 64b840590eb69adca395368802548cd3febb0b84 /src/include | |
parent | 7115eda899d6cd51342378047579d9a74b9cad29 (diff) | |
download | exchange-a38fa32484286d2895dca10d3f53d3c7599d2f3b.tar.xz |
fixing misc auditor issues
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_amount_lib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index e6c36fed8..ef323f83b 100644 --- a/src/include/taler_amount_lib.h +++ b/src/include/taler_amount_lib.h @@ -297,6 +297,18 @@ TALER_amount_normalize (struct TALER_Amount *amount); char * TALER_amount_to_string (const struct TALER_Amount *amount); + +/** + * Convert amount to string. + * + * @param amount amount to convert to string + * @return statically allocated buffer with string representation, + * NULL if the @a amount was invalid + */ +const char * +TALER_amount2s (const struct TALER_Amount *amount); + + #if 0 /* keep Emacsens' auto-indent happy */ { #endif |