4#ifndef PROTOCORE_SSH_SSH_H
5#define PROTOCORE_SSH_SSH_H
22 uint8_t *(*conn_slot)(uint8_t *, uint8_t);
#define PROTOCORE_UNUSED
Suppress the unused warning. Every module ends in a namespace most callers only partly use.
#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.
uint8_t * protocore_ssh_span(void)
The PROTOCORE_SSH_BORROW bytes this module's state lives in.
uint8_t * protocore_ssh_conn_slot(uint8_t *work, uint8_t i)
The base of slot i's span, or NULL when i is out of range. Every .
Dispatch table. Addressed by offset, so the layout is asserted below.