skip to content
==> include/mesh/abi/reconcile.h <==
1/* @ajax/mesh-abi-reconcile: A member's reconcile status (RS_*).
2 *
3 * Part of alpha-c-mesh, a C port of alpha-rust-mesh (README.md says from where). */
4#ifndef MESH_ABI_RECONCILE_H
5#define MESH_ABI_RECONCILE_H
6
7#include <stdbool.h>
8#include <stddef.h>
9#include <stdint.h>
10
11/* A member's reconcile status (F_BEAT, the fleet records): none yet, in
12 * sync with the committed document, working on it, or some action failed. */
13#define MESH_RS_NONE 0u
14#define MESH_RS_SYNC 1u
15#define MESH_RS_PENDING 2u
16#define MESH_RS_FAILED 3u
17#define MESH_RS_NAMES_LEN 4
18extern const char *const MESH_RS_NAMES[4];
19
20#endif