aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu-name-system-record-types/Makefile6
-rw-r--r--gnu-name-system-record-types/h.header11
-rw-r--r--gnu-name-system-record-types/registry.rec34
-rw-r--r--gnu-taler-error-codes/registry.rec10
4 files changed, 42 insertions, 19 deletions
diff --git a/gnu-name-system-record-types/Makefile b/gnu-name-system-record-types/Makefile
index 2d0eb95..245f48b 100644
--- a/gnu-name-system-record-types/Makefile
+++ b/gnu-name-system-record-types/Makefile
@@ -1,4 +1,4 @@
1FILES=gnu-name-system-record-types.h 1FILES=gnu_name_system_record_types.h
2all: check $(FILES) 2all: check $(FILES)
3 3
4check: 4check:
@@ -10,10 +10,10 @@ distclean:
10clean: 10clean:
11 rm -f $(FILES) *.tmp 11 rm -f $(FILES) *.tmp
12 12
13gnu-name-system-record-types.h.tmp: registry.rec h.template 13gnu_name_system_record_types.h.tmp: registry.rec h.template
14 ../format.sh h.template < registry.rec > $@ 14 ../format.sh h.template < registry.rec > $@
15 15
16gnu-name-system-record-types.h: h.header gnu-name-system-record-types.h.tmp h.footer 16gnu_name_system_record_types.h: h.header gnu_name_system_record_types.h.tmp h.footer
17 cat $^ > $@ 17 cat $^ > $@
18 18
19.PHONY: check clean distclean 19.PHONY: check clean distclean
diff --git a/gnu-name-system-record-types/h.header b/gnu-name-system-record-types/h.header
index fb52945..109e6f4 100644
--- a/gnu-name-system-record-types/h.header
+++ b/gnu-name-system-record-types/h.header
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2012-2020 GNUnet e.V. 3 Copyright (C) 2012-2021 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -20,6 +20,15 @@
20#ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H 20#ifndef GNU_NAME_SYSTEM_RECORD_TYPES_H
21#define GNU_NAME_SYSTEM_RECORD_TYPES_H 21#define GNU_NAME_SYSTEM_RECORD_TYPES_H
22 22
23/**
24 * WARNING:
25 * This header is generated!
26 * In order to add GNS record types, you must register
27 * them in GANA, and then use the header generation script
28 * to create an update of this file. You may then replace this
29 * file with the update.
30 */
31
23#ifdef __cplusplus 32#ifdef __cplusplus
24extern "C" { 33extern "C" {
25#if 0 /* keep Emacsens' auto-indent happy */ 34#if 0 /* keep Emacsens' auto-indent happy */
diff --git a/gnu-name-system-record-types/registry.rec b/gnu-name-system-record-types/registry.rec
index 74cf1b6..14f3f24 100644
--- a/gnu-name-system-record-types/registry.rec
+++ b/gnu-name-system-record-types/registry.rec
@@ -4,7 +4,7 @@
4# 4#
5 5
6%rec: RecordType 6%rec: RecordType
7%key: Number 7%key: Number
8%type: Number int 8%type: Number int
9%mandatory: Number 9%mandatory: Number
10%typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/ 10%typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/
@@ -68,12 +68,12 @@ Contact: schanzen@gnunet.org
68 68
69Number: 65548 69Number: 65548
70Name: DELEGATE 70Name: DELEGATE
71Comment: for policies 71Comment: For ABD policies
72Contact: schanzen@gnunet.org 72Contact: schanzen@gnunet.org
73 73
74Number: 65549 74Number: 65549
75Name: ATTRIBUTE 75Name: ATTRIBUTE
76Comment: for reverse lookups 76Comment: For ABD reverse lookups
77Contact: schanzen@gnunet.org 77Contact: schanzen@gnunet.org
78 78
79Number: 65550 79Number: 65550
@@ -81,28 +81,32 @@ Name: RECLAIM_ATTRIBUTE_REF
81Comment: for reclaim records 81Comment: for reclaim records
82Contact: schanzen@gnunet.org 82Contact: schanzen@gnunet.org
83 83
84Number: 65551 84#Number: 65551
85Name: RECLAIM_MASTER 85#Name:
86Comment: for RECLAIM master 86#Comment:
87Contact: schanzen@gnunet.org 87#Contact:
88 88
89Number: 65552 89Number: 65552
90Name: RECLAIM_TICKET 90Name: RECLAIM_OIDC_CLIENT
91Comment: for reclaimOIDC clients 91Comment: For reclaim OIDC client names.
92Contact: schanzen@gnunet.org 92Contact: schanzen@gnunet.org
93 93
94Number: 65553 94Number: 65553
95Name: RECLAIM_OIDC_CLIENT 95Name: RECLAIM_OIDC_REDIRECT
96Comment: for reclaim OIDC redirect URIs 96Comment: Used reclaimID OIDC client redirect URIs.
97Contact: schanzen@gnunet.org 97Contact: schanzen@gnunet.org
98 98
99
99Number: 65554 100Number: 65554
100Name: RECLAIM_ATTESTATION 101Name: RECLAIM_CREDENTIAL
101Comment: for reclaim attestation 102Comment: Record type for an attribute attestation (e.g. JWT).
102Contact: schanzen@gnunet.org 103Contact: schanzen@gnunet.org
103 104
104Number: 65555 105Number: 65555
105Name: RECLAIM_ATTESTATION_REF 106Name: RECLAIM_PRESENTATION
106Comment: for attestation reference in a ticket 107Comment: Record type for a presentation of a credential.
107Contact: schanzen@gnunet.org 108Contact: schanzen@gnunet.org
108 109
110Number: 65556
111Name: EDKEY
112Comment: Record type for EDKEY zone delegations.
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
index 841b4ca..e38942a 100644
--- a/gnu-taler-error-codes/registry.rec
+++ b/gnu-taler-error-codes/registry.rec
@@ -1109,6 +1109,16 @@ Name: MERCHANT_PRIVATE_POST_INSTANCES_ALREADY_EXISTS
1109Description: The merchant backend cannot create an instance under the given identifier as one already exists. Use PATCH to modify the existing entry. 1109Description: The merchant backend cannot create an instance under the given identifier as one already exists. Use PATCH to modify the existing entry.
1110HttpStatus: 409 1110HttpStatus: 409
1111 1111
1112Value: 2601
1113Name: MERCHANT_PRIVATE_POST_INSTANCES_BAD_AUTH
1114Description: The merchant backend cannot create an instance because the authentication configuration field is malformed.
1115HttpStatus: 400
1116
1117Value: 2602
1118Name: MERCHANT_PRIVATE_POST_INSTANCE_AUTH_BAD_AUTH
1119Description: The merchant backend cannot update an instance's authentication settings because the provided authentication settings are malformed.
1120HttpStatus: 400
1121
1112 1122
1113# 2650-2699: product operations 1123# 2650-2699: product operations
1114 1124