skip to content
==> include/mesh/snapshot.h <==
1/* @ajax/mesh-snapshot: the snapshot sent to viewers (status.rs `snapshot`;
2 * mesh-abi "snapshot v3"): a header, the mailbox header, one section per
3 * non-empty slot in ascending order (its table entry, control block,
4 * extension, node records and its view's snapshot prefix, zero padded), then
5 * the host block with the load regions. */
6#ifndef MESH_SNAPSHOT_H
7#define MESH_SNAPSHOT_H
8
9#include "mesh/buf.h"
10#include "mesh/host_block.h"
11#include "mesh/mailbox.h"
12
13/* Appends one snapshot to out. */
14void mesh_snapshot(mesh_buf *out, mesh_mailbox mb, mesh_host_block *host);
15
16#endif