summaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-18 20:36:44 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-18 20:36:44 +0200
commit8da74a6ca7f0fa30a4f23be2adccbdf33799cbb9 (patch)
tree6d37fb5bc699021f5d0c1c7a826181041587cdb6 /src/include/taler_util.h
parentf6a7d4a1edd9dce6781b2682568f90090cc7d602 (diff)
downloadexchange-8da74a6ca7f0fa30a4f23be2adccbdf33799cbb9.tar.gz
exchange-8da74a6ca7f0fa30a4f23be2adccbdf33799cbb9.tar.bz2
exchange-8da74a6ca7f0fa30a4f23be2adccbdf33799cbb9.zip
-more work on taler-helper-auditor-reserve p2p audits
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r--src/include/taler_util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index 607d76724..e5c7b97b5 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -418,6 +418,19 @@ TALER_payto_validate (const char *payto_uri);
/**
+ * Create payto://-URI for a given exchange base URL
+ * and a @a reserve_pub.
+ *
+ * @param exchange_url the base URL of the exchange
+ * @param reserve_pub the public key of the reserve
+ * @return payto://-URI for the reserve (without receiver-name!)
+ */
+char *
+TALER_reserve_make_payto (const char *exchange_url,
+ const struct TALER_ReservePublicKeyP *reserve_pub);
+
+
+/**
* Check that an IBAN number is well-formed.
*
* Validates given IBAN according to the European Banking Standards. See: