skip to content
==> src/host_fleet.c <==
1/* @ajax/mesh-abi-host-fleet: its tables and functions. */
2#include "mesh/abi/host_fleet.h"
3
4const char *const MESH_ROLE_NAMES[5] = {"single", "follower", "pre-candidate", "candidate", "leader"};
5
6const char *const MESH_GS_NAMES[3] = {"-", "running", "paused"};
7
8const mesh_field MESH_FMEMBER_FIELDS[5] = {
9    {MESH_FM_STATUS, 4},
10    {MESH_FM_GROUP, 4},
11    {MESH_FM_APPLIED, 8},
12    {MESH_FM_HEARD_MS, 8},
13    {MESH_FM_REASON, 40},
14};