summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-02 22:16:01 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-02 22:16:01 +0200
commit61450fad8d371a4f75731faa51632229c881ada2 (patch)
tree3676a07176fc1dfb299014134ef6f6ee11cd804d /src/include
parent3a6ae694ecba19af06d84906facbcb5f7d51d72b (diff)
downloadexchange-61450fad8d371a4f75731faa51632229c881ada2.tar.gz
exchange-61450fad8d371a4f75731faa51632229c881ada2.tar.bz2
exchange-61450fad8d371a4f75731faa51632229c881ada2.zip
-add i18n object syntax check
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_json_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h
index bc21957e8..3581252ca 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -567,6 +567,16 @@ TALER_JSON_extract_i18n (const json_t *object,
/**
+ * Check whether a given @a i18n object is wellformed.
+ *
+ * @param i18n object with internationalized content
+ * @return true if @a i18n is well-formed
+ */
+bool
+TALER_JSON_check_i18n (const json_t *i18n);
+
+
+/**
* Obtain the wire method associated with the given
* wire account details. @a wire_s must contain a payto://-URL
* under 'url'.