[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: added missing pq lib
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: added missing pq lib |
Date: |
Tue, 19 Mar 2024 11:57:52 +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 1570178 added missing pq lib
1570178 is described below
commit 15701789477ec567d9dc3748822d54e5248fa1e3
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Tue Mar 19 11:57:13 2024 +0100
added missing pq lib
---
src/include/donau_pq_lib.h | 53 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/src/include/donau_pq_lib.h b/src/include/donau_pq_lib.h
new file mode 100644
index 0000000..6a6399e
--- /dev/null
+++ b/src/include/donau_pq_lib.h
@@ -0,0 +1,53 @@
+/*
+ This file is part of TALER
+ Copyright (C) 2024 Taler Systems SA
+
+ TALER is free software; you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ TALER is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+*/
+/**
+ * @file include/donau_pq_lib.h
+ * @brief helper functions for DB interactions
+ * @author Johannes Casaburi>
+ */
+#ifndef DONAU_PQ_LIB_H_
+#define DONAU_PQ_LIB_H_
+
+#include <gnunet/gnunet_common.h>
+#include <gnunet/gnunet_pq_lib.h>
+#include "taler/taler_util.h"
+
+/**
+ * Generate query parameter for a denomination public
+ * key. Internally, the various attributes of the
+ * public key will be serialized into on variable-size
+ * BLOB.
+ *
+ * @param denom_pub pointer to the query parameter to pass
+ */
+struct GNUNET_PQ_QueryParam
+DONAU_PQ_query_param_donation_unit_pub (
+ const struct DONAU_DonationUnitPublicKey *donation_unit_pub);
+
+/**
+ * Denomination public key expected.
+ *
+ * @param name name of the field in the table
+ * @param[out] denom_pub where to store the public key
+ * @return array entry for the result specification to use
+ */
+struct GNUNET_PQ_ResultSpec
+DONAU_PQ_result_spec_donation_unit_pub (const char *name,
+ struct DONAU_DonationUnitPublicKey
*donation_unit_pub);
+
+#endif /* DONAU_PQ_LIB_H_ */
+
+/* end of include/donau_pq_lib.h */
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-donau] branch master updated: added missing pq lib,
gnunet <=