skip to content
[readonly]

Snapshot v3: the mailbox header, one section per loaded program, and the host block, in one frame for viewers

sh
$ sexc add @ajax/mesh-snapshot
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 05:23v/# 1 version
  • drwxr-xr-x-Oct 27 05:23files/# the files of 0.1.0
latest
0.1.0, published Oct 27 05:23 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-mailbox ^0.1.0, @ajax/mesh-abi ^0.1.0, @ajax/mesh-prog-table ^0.1.0, @ajax/mesh-host-block ^0.1.0, @ajax/mesh-buf ^0.1.0, @ajax/mesh-manifest ^0.1.0, @ajax/mesh-manifest-encode ^0.1.0, @ajax/mesh-check ^0.1.0
dependents
@ajax/mesh-control
keywords
mesh alphaos snapshot viewers mailbox
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-snapshot
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-snapshot
2
3Snapshot v3: the mailbox header, one section per loaded program, and the host block, in one frame for viewers.
4
5The snapshot sent to viewers (status.rs `snapshot`; mesh-abi "snapshot v3"): a header, the mailbox header, one section per non-empty slot in ascending order (its table entry, control block, extension, node records and its view's snapshot prefix, zero padded), then the host block with the load regions.
6
7```c
8#include "mesh/snapshot.h"
9```
10
11## Ported from
12
13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/status.rs: `snapshot`.
14
15## Tests
16
17- `tests/snapshot.c`: status.rs's `layout`.
18
19## Licence
20
21MIT. See the repository's LICENSE.