C/C++ · reference
Configure by owner, not by a knob list
C/C++ submits intent through the public C ABI. Core normalizes it and issues effective facts; the app does not mirror default tables.
Create an owner
system_name- Logical system identity, copied by Core during create.
node_id- Unique node identity within that system.
strict_no_drop- Admission intent, not proof that every downstream operation succeeds.
queue_capacity- A requested bound that Core may normalize to a production safety cap.
Versioned structs
Zero-initialize output structs, then set struct_size = sizeof(value). Core cannot read or write fields outside the advertised span. Preserve unknown enums and status values as unknown; never turn them into success.
Host lanes and lifetime
coakka_v2_host_handles_t returns host-owned descriptors. Close every non-negative descriptor exactly once after host calls quiesce. Buffers from client builders or tickets are caller-owned and released with coakka_v2_client_bytes_release.
A borrowed pointer only lives for the header-documented call. Never retain it across callbacks, cancellation or shutdown.
Read effective state
Use Core snapshots for runtime info, startup, connection, delivery, stats and health. Requested configuration does not become an accepted fact. The Monitor FD is a doorbell: consume it, then read snapshots; it is not a serialized event stream.