commit b5941266e6fdc43c2730262f518eabb86254c78d
parent ecb597d6fb23e18a282059791c49716aa8ffd8cb
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Tue, 4 Jan 2022 15:39:09 +0100
fix signature and tld templates
Diffstat:
4 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/gnu-name-system-default-tlds/tlds.template b/gnu-name-system-default-tlds/tlds.template
@@ -1,2 +1,4 @@
+
# {{Comment}}
.{{Name}} = {{Key}}
+
diff --git a/gnunet-signatures/h.footer b/gnunet-signatures/h.footer
@@ -1,8 +1,5 @@
-};
-
-
#if 0 /* keep Emacsens' auto-indent happy */
{
#endif
diff --git a/gnunet-signatures/h.header b/gnunet-signatures/h.header
@@ -1,21 +1,21 @@
/*
This file is part of GNUnet
- Copyright (C) 2012-2020 GNUnet e.V.
+ Copyright (C) 2012-2022 GNUnet e.V.
GNUnet is free software: you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published
+ under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
GNUnet 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.
+ Affero General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
- SPDX-License-Identifier: GPL3.0-or-later
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
#ifndef GNUNET_SIGNATURES_H
#define GNUNET_SIGNATURES_H
@@ -32,4 +32,4 @@ extern "C" {
* Network signature purpose definitions. Note that all values
* must be uint32_t and encoded in network byte order in the structs.
*/
-enum GNUNET_SignaturePurpose {
+
diff --git a/gnunet-signatures/h.template b/gnunet-signatures/h.template
@@ -1,6 +1,6 @@
- /**
- * {{Description}} ({{Subsystem}})
- */
- GNUNET_SIGNATURE_PURPOSE_{{Identifier}} = {{Value}},
+/**
+ * {{Comment}} ({{Subsystem}})
+ */
+#define GNUNET_SIGNATURE_PURPOSE_{{Name}} {{Number}}