4#ifndef PROTOCORE_DATALINK_H
5#define PROTOCORE_DATALINK_H
PROTOCORE_NS DatalinkNs Datalink PROTOCORE_UNUSED
Module namespace.
proto_bool protocore_datalink_init(uint8_t *work)
Bring the layer up: sets ok. The platform's link driver performs.
#define PROTOCORE_NS_LAYOUT(T,...)
Pin every dispatch slot of a table that is nothing but function pointers.
#define PROTOCORE_NS
Storage for a dispatch table. The const is load bearing.
Dispatch table. Addressed by offset, so the layout is asserted below.
proto_bool(* init)(uint8_t *)
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS