wip parse from gana

This commit is contained in:
swrup 2026-02-08 03:50:01 +01:00
parent 21d172d884
commit e8da5fde62
3 changed files with 146 additions and 1 deletions

39
registry.rec Normal file
View file

@ -0,0 +1,39 @@
# -*- mode: rec -*-
#
# Registry for Signature purposes
#
%rec: SignaturePurpose
%key: Number
%type: Number int
%mandatory: Number
%typedef: Name_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_][ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*$/
%type: Name Name_t
%unique: Name
%mandatory: Name
%mandatory: Comment
%mandatory: Package
%allowed: Subsystem
%sort: Number Name
#-----------------------------------------------------------------------------
# GNUnet
Number: 0
Name: TEST
Comment: Test signature, not valid for anything other than writing a test. (Note that the signature verification code will accept this value).
Package: GNUnet
Subsystem: GNUnet
Number: 1
Name: TRANSPORT_PONG_OWN
Comment: Signature for confirming that this peer uses a particular address.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT
Number: 2
Name: TRANSPORT_DISCONNECT
Comment: Signature for confirming that this peer intends to disconnect.
Package: GNUnet
Subsystem: GNUnet-TRANSPORT