diff options
author | Maxime Devos <maximedevos@telenet.be> | 2022-02-02 16:45:13 +0000 |
---|---|---|
committer | Maxime Devos <maximedevos@telenet.be> | 2022-02-02 16:55:50 +0000 |
commit | 92e43898341d0ace08d8d717dd96928693396aa3 (patch) | |
tree | 1a6b4f4e983b4c9672b8d287aecfb40ab8d068dc /Makefile.am | |
parent | 41e26397170067f80e5ba6f5e5729978770371d0 (diff) | |
download | gnunet-scheme-92e43898341d0ace08d8d717dd96928693396aa3.tar.gz gnunet-scheme-92e43898341d0ace08d8d717dd96928693396aa3.zip |
dht/client: Extract network message manipulation code.
* gnu/gnunet/dht/network.scm: New module.
* doc/scheme-gnunet.tm (Constructing and analysing network messages):
Document new procedures.
* gnu/gnunet/dht/client.scm
(copy-insertion): New procedure.
(construct-client-get): Extract from ...
(send-get!): ... here.
(construct-client-put): Extract from ...
(put!): ... here.
(analyse-client-result): Extract from ...
(reconnect)[process-client-result]: ... here, and adjust ...
(reconnect)[handlers]<msg:dht:client:result>{handle}: ... this
procedure appropriately.
(analyse-client-get): Extract from ...
* tests/distributed-hash-table.scm
(simulate-dht-service)[handle-table]<handle/start-get!>: ... here.
* gnu/gnunet/dht/client.scm (analyse-client-put): Extract from ...
* tests/distributed-hash-table.scm
(simulate-dht-service)[handle-table]<handle/put!>: ... here.
* gnu/gnunet/dht/client.scm (construct-client-result): Extract from ...
* tests/distributed-hash-table.scm
(simulate-dht-service)[handle-table]<handle/start-get!>: ... here.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index a400c10..b9bc3db 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -69,6 +69,7 @@ modules = \ | |||
69 | gnu/gnunet/crypto/struct.scm \ | 69 | gnu/gnunet/crypto/struct.scm \ |
70 | \ | 70 | \ |
71 | gnu/gnunet/dht/client.scm \ | 71 | gnu/gnunet/dht/client.scm \ |
72 | gnu/gnunet/dht/network.scm \ | ||
72 | gnu/gnunet/dht/struct.scm \ | 73 | gnu/gnunet/dht/struct.scm \ |
73 | \ | 74 | \ |
74 | gnu/gnunet/util/cmsg.scm \ | 75 | gnu/gnunet/util/cmsg.scm \ |