gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated (93943bdb -> 6512456d)


From: gnunet
Subject: [taler-exchange] branch master updated (93943bdb -> 6512456d)
Date: Sat, 04 Jun 2022 15:35:03 +0200

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

ttn pushed a change to branch master
in repository exchange.

    from 93943bdb add KYC errors for p2p payments
     new baf00c02 move "gana/" to caller
     new 6512456d Add support for generating taler_signatures.h.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 contrib/gana-update.sh                             | 18 +++++-----
 contrib/sigp/Makefile                              | 21 ++++++++++++
 contrib/sigp/README                                |  3 ++
 contrib/sigp/h.footer                              |  3 ++
 .../taler_auditordb_lib.h => contrib/sigp/h.header | 39 +++++++---------------
 contrib/sigp/h.template                            |  6 ++++
 6 files changed, 54 insertions(+), 36 deletions(-)
 create mode 100644 contrib/sigp/Makefile
 create mode 100644 contrib/sigp/README
 create mode 100644 contrib/sigp/h.footer
 copy src/include/taler_auditordb_lib.h => contrib/sigp/h.header (53%)
 create mode 100644 contrib/sigp/h.template

diff --git a/contrib/gana-update.sh b/contrib/gana-update.sh
index db122b9a..04cdcef5 100755
--- a/contrib/gana-update.sh
+++ b/contrib/gana-update.sh
@@ -5,8 +5,8 @@ set -eu
 
 domake ()
 {
-    # $1 -- dir under contrib/gana/
-    dir="contrib/gana/$1"
+    # $1 -- dir under contrib/
+    dir="contrib/$1"
 
     make -C $dir
 }
@@ -14,10 +14,10 @@ domake ()
 ensure ()
 {
     # $1 -- filename
-    # $2 -- src dir under contrib/gana/
+    # $2 -- src dir under contrib/
     # $3 -- dst dir under ./
     fn="$1"
-    src="contrib/gana/$2"
+    src="contrib/$2"
     dst="./$3"
 
     if ! diff $src/$fn $dst/$fn > /dev/null
@@ -26,9 +26,9 @@ ensure ()
     fi
 }
 
-domake                     gnu-taler-error-codes
-ensure taler_error_codes.c gnu-taler-error-codes src/util
-ensure taler_error_codes.h gnu-taler-error-codes src/include
+domake                     gana/gnu-taler-error-codes
+ensure taler_error_codes.c gana/gnu-taler-error-codes src/util
+ensure taler_error_codes.h gana/gnu-taler-error-codes src/include
 
-domake                  gnu-taler-db-events
-ensure taler_dbevents.h gnu-taler-db-events src/include
+domake                  gana/gnu-taler-db-events
+ensure taler_dbevents.h gana/gnu-taler-db-events src/include
diff --git a/contrib/sigp/Makefile b/contrib/sigp/Makefile
new file mode 100644
index 00000000..65797fcf
--- /dev/null
+++ b/contrib/sigp/Makefile
@@ -0,0 +1,21 @@
+FILES = taler_signatures.h
+
+gana = ../gana
+
+
+all: check $(FILES)
+check: registry.rec
+       recfix --check registry.rec
+registry.rec:
+       ln -s $(gana)/gnunet-signatures/registry.rec
+distclean:
+       rm -f *.tmp
+clean:
+       rm -f $(FILES) *.tmp registry.rec
+taler_signatures.h.tmp: registry.rec h.template
+       $(gana)/format.sh h.template 'Package = "GNU Taler"' < registry.rec > $@
+
+taler_signatures.h: h.header taler_signatures.h.tmp h.footer
+       cat h.header taler_signatures.h.tmp h.footer > $@
+
+.PHONY: check clean distclean
diff --git a/contrib/sigp/README b/contrib/sigp/README
new file mode 100644
index 00000000..34e479ea
--- /dev/null
+++ b/contrib/sigp/README
@@ -0,0 +1,3 @@
+This directory contains bootstrap code to extract info from the
+Signature Purposes database (registry) and format it in various ways.
+It is a peer of ${top_srcdir}/contrib/gana/ (q.v.).
diff --git a/contrib/sigp/h.footer b/contrib/sigp/h.footer
new file mode 100644
index 00000000..c0fbf697
--- /dev/null
+++ b/contrib/sigp/h.footer
@@ -0,0 +1,3 @@
+
+
+#endif
diff --git a/src/include/taler_auditordb_lib.h b/contrib/sigp/h.header
similarity index 53%
copy from src/include/taler_auditordb_lib.h
copy to contrib/sigp/h.header
index 3ba3bb37..a0e3c6ae 100644
--- a/src/include/taler_auditordb_lib.h
+++ b/contrib/sigp/h.header
@@ -1,6 +1,6 @@
 /*
   This file is part of TALER
-  Copyright (C) 2016 Taler Systems SA
+  Copyright (C) 2014-2022 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
@@ -14,34 +14,19 @@
   TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
 */
 /**
- * @file include/taler_auditordb_lib.h
- * @brief high-level interface for the auditor's database
+ * @file taler_signatures.h
+ * @brief message formats and signature constants used to define
+ *        the binary formats of signatures in Taler
  * @author Florian Dold
  * @author Benedikt Mueller
- * @author Christian Grothoff
- */
-#ifndef TALER_AUDITORDB_LIB_H
-#define TALER_AUDITORDB_LIB_H
-
-#include "taler_auditordb_plugin.h"
-
-/**
- * Initialize the plugin.
- *
- * @param cfg configuration to use
- * @return NULL on failure
- */
-struct TALER_AUDITORDB_Plugin *
-TALER_AUDITORDB_plugin_load (const struct GNUNET_CONFIGURATION_Handle *cfg);
-
-
-/**
- * Shutdown the plugin.
  *
- * @param plugin plugin to unload
+ * This file should define the constants and C structs that one needs
+ * to know to implement Taler clients (wallets or merchants or
+ * auditor) that need to produce or verify Taler signatures.
  */
-void
-TALER_AUDITORDB_plugin_unload (struct TALER_AUDITORDB_Plugin *plugin);
-
+#ifndef TALER_SIGNATURES_H
+#define TALER_SIGNATURES_H
 
-#endif
+#include <gnunet/gnunet_util_lib.h>
+#include "taler_amount_lib.h"
+#include "taler_crypto_lib.h"
diff --git a/contrib/sigp/h.template b/contrib/sigp/h.template
new file mode 100644
index 00000000..66b0317e
--- /dev/null
+++ b/contrib/sigp/h.template
@@ -0,0 +1,6 @@
+
+
+/**
+ * {{Comment}}
+ */
+#define TALER_SIGNATURE_{{Name}} {{Number}}

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