4#ifndef PROTOCORE_SSH_SSH_H
5#define PROTOCORE_SSH_SSH_H
22 uint8_t *(*conn_slot)(uint8_t *, uint8_t);
#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 .
PROTOCORE_NS SshNs Ssh PROTOCORE_UNUSED
Module namespace.
Dispatch table. Addressed by offset, so the layout is asserted below.
uint8_t *(* conn_slot)(uint8_t *, uint8_t)
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
#define PROTOCORE_END_DECLS