feat(controller-status): add per-controller connection-status field to CtrlPeer schema (task 8.1)
Adds CtrlPeer.status (UInt8, next free ordinal @3 after port) plus the matching xce_ctrlpeer_t.status typemap field, verified field-for-field against the regenerated codec with a genuine encode/decode round-trip test. No sourcing/rendering logic yet (task 8.2/8.3) -- field defaults to 0 (unknown) until wired. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
This commit is contained in:
parent
8a1964d483
commit
1b278c0e9a
4 changed files with 122 additions and 1 deletions
|
|
@ -264,6 +264,7 @@ typedef struct {
|
|||
char* name;
|
||||
char* host;
|
||||
uint32_t port;
|
||||
uint8_t status; /* @3: 0=unknown 1=ok 2=catching-up 3=dead (Req 13.1) */
|
||||
} xce_ctrlpeer_t;
|
||||
|
||||
typedef struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue