summaryrefslogtreecommitdiff
path: root/src/include/taler_amount_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-20 02:29:33 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-20 02:29:33 +0100
commita38fa32484286d2895dca10d3f53d3c7599d2f3b (patch)
tree64b840590eb69adca395368802548cd3febb0b84 /src/include/taler_amount_lib.h
parent7115eda899d6cd51342378047579d9a74b9cad29 (diff)
downloadexchange-a38fa32484286d2895dca10d3f53d3c7599d2f3b.tar.gz
exchange-a38fa32484286d2895dca10d3f53d3c7599d2f3b.tar.bz2
exchange-a38fa32484286d2895dca10d3f53d3c7599d2f3b.zip
fixing misc auditor issues
Diffstat (limited to 'src/include/taler_amount_lib.h')
-rw-r--r--src/include/taler_amount_lib.h12
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