gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: working on keys path


From: gnunet
Subject: [taler-donau] branch master updated: working on keys path
Date: Sat, 09 Mar 2024 15:18:29 +0100

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

johannes-casaburi pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new 98617cc  working on keys path
98617cc is described below

commit 98617cc7f8b04eb402822bdbd4214faee639cc53
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Sat Mar 9 15:17:52 2024 +0100

    working on keys path
---
 src/donau/donau-httpd_keys.c            | 10 +++++-----
 src/donaudb/pg_iterate_donation_units.c |  6 +++---
 src/include/donaudb_plugin.h            |  6 +++---
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 3050901..31c5af8 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -427,7 +427,7 @@ struct HelperState
   /**
    * Handle for the donation_unit/RSA helper.
    */
-  struct TALER_CRYPTO_RsaDonationUnitHelper*rsadh;
+  struct DONAU_CRYPTO_RsaDonationUnitHelper*rsadh;
 
   /**
    * Handle for the donation_unit/CS helper.
@@ -625,9 +625,9 @@ insert_donation_unit_cb (void *cls,
         GNUNET_JSON_pack_uint64 ("validity_year",
                                  validity_year),
         TALER_JSON_pack_amount ("value",
-                                &value)
-        // GNUNET_JSON_pack_string ("section_name",
-        //  hd->section_name)
+                                value),
+        GNUNET_JSON_pack_string ("section_name",
+                                 hd->section_name)
         )));
   return GNUNET_OK;
 }
@@ -1680,8 +1680,8 @@ setup_key_helpers (struct HelperState *hs)
 static void
 donation_unit_info_cb (
   void *cls,
-  const struct DONAU_DonationUnitPublicKey *donation_unit_pub,
   const struct DONAU_DonationUnitHashP *h_donation_unit_pub,
+  const struct DONAU_DonationUnitPublicKey *donation_unit_pub,
   uint64_t validity_year,
   struct TALER_Amount *value)
 {
diff --git a/src/donaudb/pg_iterate_donation_units.c 
b/src/donaudb/pg_iterate_donation_units.c
index 41f75e0..5db1e82 100644
--- a/src/donaudb/pg_iterate_donation_units.c
+++ b/src/donaudb/pg_iterate_donation_units.c
@@ -91,10 +91,10 @@ iterate_donation_units_cb (void *cls,
       return;
     }
     ctx->cb (ctx->cb_cls,
-             h_donation_unit_pub,
-             donation_unit_pub,
+             &h_donation_unit_pub,
+             &donation_unit_pub,
              validity_year,
-             value);
+             &value);
     GNUNET_PQ_cleanup_result (rs);
   }
 }
diff --git a/src/include/donaudb_plugin.h b/src/include/donaudb_plugin.h
index 94ea43c..a682188 100644
--- a/src/include/donaudb_plugin.h
+++ b/src/include/donaudb_plugin.h
@@ -132,10 +132,10 @@ typedef void
 typedef void
 (*DONAUDB_IterateDonationUnitsCallback)(
   void *cls,
-  const struct DONAU_DonationUnitHashP h_donation_unit_pub,
-  const struct DONAU_DonationUnitPublicKey donation_unit_pub,
+  const struct DONAU_DonationUnitHashP *h_donation_unit_pub,
+  const struct DONAU_DonationUnitPublicKey *donation_unit_pub,
   uint64_t validity_year,
-  struct TALER_Amount value);
+  struct TALER_Amount *value);
 
 /**
  * Return charities.

-- 
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]