aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-14 15:15:53 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:50:14 +0200
commita32a5ef25aa35c7c9228e5f8f9541aaef7f525c4 (patch)
tree1c983076b6fd2aa5b99a59590b4b206003070108 /src/include/taler_util.h
parent0c4eca0d4858651d7415951c8a708c3380ccbb64 (diff)
add TALER_yna_to_string()
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r--src/include/taler_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index 07b78a432..22d7f7f2a 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -335,4 +335,15 @@ TALER_arg_to_yna (struct MHD_Connection *connection,
enum TALER_EXCHANGE_YesNoAll default_val,
enum TALER_EXCHANGE_YesNoAll *yna);
+
+/**
+ * Convert YNA value to a string.
+ *
+ * @param yna value to convert
+ * @return string representation ("yes"/"no"/"all").
+ */
+const char *
+TALER_yna_to_string (enum TALER_EXCHANGE_YesNoAll yna);
+
+
#endif