aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_json_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_json_lib.h')
-rw-r--r--src/include/taler_json_lib.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h
index 17768c0e3..22e44fdf0 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -168,6 +168,19 @@ TALER_JSON_pack_token_issue_sig (
/**
+ * Generate packer instruction for a JSON field of type token envelope.
+ *
+ * @param name name of the field to add to the object
+ * @param envelope blinded token envelope
+ * @return json pack specification
+ */
+struct GNUNET_JSON_PackSpec
+TALER_JSON_pack_token_envelope (
+ const char *name,
+ const struct TALER_TokenEnvelopeP *envelope);
+
+
+/**
* Generate packer instruction for a JSON field of type
* exchange withdraw values (/csr).
*