gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-donau] branch master updated: [header] some changes2


From: gnunet
Subject: [taler-donau] branch master updated: [header] some changes2
Date: Sun, 15 Oct 2023 23:44:05 +0200

This is an automated email from the git hooks/post-receive script.

lukas-matyja pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 262d08a  [header] some changes2
262d08a is described below

commit 262d08a7b452f30a64c2d8b8bb73d8ae47e43ed7
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Sun Oct 15 23:44:06 2023 +0200

    [header] some changes2
---
 src/include/taler_donau_service.h | 41 +++++++++++++++++++++++++--------------
 1 file changed, 26 insertions(+), 15 deletions(-)

diff --git a/src/include/taler_donau_service.h 
b/src/include/taler_donau_service.h
index 3582a0d..f33885e 100644
--- a/src/include/taler_donau_service.h
+++ b/src/include/taler_donau_service.h
@@ -477,7 +477,7 @@ struct TALER_BlindedDonationEnvelope
   /**
    * Type of the sign blinded message
    */
-  enum TALER_DonationUnitCipher cipher;
+  enum TALER_DenominationCipher cipher;
 
   /**
    * Details, depending on @e cipher.
@@ -517,6 +517,17 @@ struct TALER_DONAU_BlindedDonationReceipt
 
 };
 
+/**
+ * blind signatures from the blinded donation envelopes.
+ */
+struct TALER_DonauBlindSignatureP
+{
+  /**
+   * The blinded signature
+   */
+  struct TALER_DenominationSignature sig;
+
+};
 
 /**
  * @brief A Batch Submit Handle
@@ -576,21 +587,21 @@ struct TALER_DONAU_BatchIssueReceiptResult
  * @param dr  response details
  */
 typedef void
-(*TALER_DONAU_BatchSubmitResultCallback) (
+(*TALER_DONAU_BatchIssueReceiptResultCallback) (
   void *cls,
-  const struct TALER_DONAU_BatchSubmitResult *dr);
+  const struct TALER_DONAU_BatchIssueReceiptResult *dr);
 
 
 /**
- * Submit a batch of  permissions to the donau and get the
- * donau's response.  This API is typically used by a charity.  Note that
+ * Submit a batch of permissions to the donau and get the
+ * donau's response. This API is typically used by a charity. Note that
  * while we return the response verbatim to the caller for further processing,
  * we do already verify that the response is well-formed (i.e. that signatures
- * included in the response are all valid).  If the donau's reply is not
+ * included in the response are all valid). If the donau's reply is not
  * well-formed, we return an HTTP status code of zero to @a cb.
  *
- * We also verify that the @a cdds.coin_sig are valid for this 
- * request, and that the @a cdds.ub_sig are a valid signatures for @a
+ * We also verify that the @a bdr.coin_sig are valid for this
+ * request, and that the @a bdr.ub_sig are a valid signatures for @a
  * coin_pub.  Also, the @a donau must be ready to operate (i.e.  have
  * finished processing the /keys reply).  If either check fails, we do
  * NOT initiate the transaction with the donau and instead return NULL.
@@ -598,16 +609,16 @@ typedef void
  * @param ctx curl context
  * @param url donau base URL
  * @param keys donau keys
- * @param dcd details about the contract the  is for
- * @param num_cdds length of the @a cdds array
- * @param cdds array with details about the coins to be ed
+ * @param charity_priv details about the contract the  is for
+ * @param num_bdrs length of the @a bdr array
+ * @param bdr array with details about the blinded donation receipts
  * @param cb the callback to call when a reply for this request is available
  * @param cb_cls closure for the above callback
  * @param[out] ec if NULL is returned, set to the error code explaining why 
the operation failed
  * @return a handle for this request; NULL if the inputs are invalid (i.e.
  *         signatures fail to verify).  In this case, the callback is not 
called.
  */
-struct TALER_DONAU_BatchSubmitHandle *
+struct TALER_DONAU_BatchIssueReceiptHandle *
 TALER_DONAU_charity_issue_receipt (
   struct GNUNET_CURL_Context *ctx,
   const char *url,
@@ -615,19 +626,19 @@ TALER_DONAU_charity_issue_receipt (
   const struct TALER_DONAU_CharityPrivateKey *charity_priv,
   unsigned int num_bdrs,
   const struct TALER_DONAU_BlindedDonationReceipts bdr[static num_bdrs],
-  TALER_DONAU_XXXBatchSubmitResultCallback cb,
+  TALER_DONAU_BatchIssueReceiptResultCallback cb,
   void *cb_cls);
 
 
 /**
- * Cancel a batch  permission request.  This function cannot be used
+ * Cancel a batch  permission request. This function cannot be used
  * on a request handle if a response is already served for it.
  *
  * @param[in]  the deposit permission request handle
  */
 void
 TALER_DONAU_charity_issue_receipt_cancel (
-  struct TALER_DONAU_BatchSubmitHandle *);
+  struct TALER_DONAU_BatchIssueReceiptHandle *);
 
 
 // + data types

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]