[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] branch master updated: fs/struct: Define new message typ
From: |
gnunet |
Subject: |
[gnunet-scheme] branch master updated: fs/struct: Define new message type /:msg:fs:unindex!. |
Date: |
Wed, 26 Oct 2022 23:31:19 +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 4831e8a fs/struct: Define new message type /:msg:fs:unindex!.
4831e8a is described below
commit 4831e8ac2f750f28a4e9ee95ac0b423907aab29b
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Wed Oct 26 23:29:26 2022 +0200
fs/struct: Define new message type /:msg:fs:unindex!.
* gnu/gnunet/fs/struct.scm (/:msg:fs:unindex!): New
definition.
---
gnu/gnunet/fs/struct.scm | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/gnu/gnunet/fs/struct.scm b/gnu/gnunet/fs/struct.scm
index ae03a79..e1bebbc 100644
--- a/gnu/gnunet/fs/struct.scm
+++ b/gnu/gnunet/fs/struct.scm
@@ -24,7 +24,8 @@
(export /:msg:fs:request-loc-signature
/:msg:fs:response-loc-signature
/:msg:fs:index-start!
- /:msg:fs:index-list:entry)
+ /:msg:fs:index-list:entry
+ /:msg:fs:unindex!)
(import (only (rnrs base) define begin * quote)
(only (gnu gnunet crypto struct)
/peer-identity)
@@ -134,4 +135,20 @@ This is folowed by a 0-terminated file name of a file with
the hash
(field (reserved u32/big)
(synopsis "Always zero."))
(field (file-id /hashcode:512)
- (synopsis "Hash of the indexed file."))))))
+ (synopsis "Hash of the indexed file."))))
+
+ (define-type /:msg:fs:unindex!
+ (structure/packed
+ (synopsis "Message to the service to indicate a file wile be
unindexed.")
+ (properties '((message-symbol msg:fs:unindex!)
+ (c-type . UnindexMessage)))
+ (documentation "Message sent from a GNUnet client (IIUC, something about
+'unindexing activity') to the file-sharing service to indicate that a file will
+be unindexed. The service is supposed to remove the file from the list of
+unindexed files and respond with a confirmation message (even if the file was
+already not on the list).")
+ (field (header /:message-header))
+ (field (reserved u32/big)
+ (synopsis "Always zero."))
+ (field (file-id /hashcode:512)
+ (synopsis "Hash of the file that we will unindex."))))))
--
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: fs/struct: Define new message type /:msg:fs:unindex!.,
gnunet <=