[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] branch master updated: cadet/struct: Define /:msg:cadet:
From: |
gnunet |
Subject: |
[gnunet-scheme] branch master updated: cadet/struct: Define /:msg:cadet:command-line-traffic. |
Date: |
Sun, 31 Jul 2022 13:48:57 +0200 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
The following commit(s) were added to refs/heads/master by this push:
new 51336ae cadet/struct: Define /:msg:cadet:command-line-traffic.
51336ae is described below
commit 51336ae93833f7dc164eb08d060044a1eccc7203
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Jul 31 13:47:44 2022 +0200
cadet/struct: Define /:msg:cadet:command-line-traffic.
* gnu/gnunet/cadet/struct.scm (/:msg:cadet:command-line-traffic): New
structure.
---
gnu/gnunet/cadet/struct.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/gnunet/cadet/struct.scm b/gnu/gnunet/cadet/struct.scm
index 8c851b6..07f3a37 100644
--- a/gnu/gnunet/cadet/struct.scm
+++ b/gnu/gnunet/cadet/struct.scm
@@ -23,7 +23,7 @@
(export /:msg:cadet:port /:msg:cadet:local:channel:create
/:msg:cadet:local:channel:destroy /:msg:cadet:local:data
/:msg:cadet:local:acknowledgement
- %minimum-local-channel-id)
+ %minimum-local-channel-id /:msg:cadet:command-line-traffic)
(import (only (rnrs base) define begin quote)
(only (gnu gnunet util struct)
/:message-header)
@@ -105,4 +105,12 @@ client that more data can be sent across a channel.")
(message-symbol . msg:cadet:local:acknowledgement)))
(field (header /:message-header))
(field (client-channel-number /client-channel-number)
- (synopsis "ID of the channel allowed to send more data"))))))
+ (synopsis "ID of the channel allowed to send more data"))))
+
+ (define-type /:msg:cadet:command-line-traffic
+ (structure/packed
+ (synopsis "Free-form message as sent and receive by
@code{gnunet-cadet}")
+ (documentation "This free-form message is sent from a client to another
client
+over a CADET channel (TODO: port? connection?), as done by the
@code{gnunet-cadet}
+application. The header is followed by the actual data.")
+ (properties '((message-symbol . msg:cadet:command-line-trafic)))))))
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet-scheme] branch master updated: cadet/struct: Define /:msg:cadet:command-line-traffic.,
gnunet <=