26#ifndef PROTOCORE_PROTO_HANDLER_H
27#define PROTOCORE_PROTO_HANDLER_H
void protocore_register_builtins(void)
Install every handler the build compiled in. Defined in server/protocore_builtins....
Per-protocol connection event/poll callbacks (the server's dispatch vtable).
void(* on_close)(uint8_t slot)
void(* on_data)(uint8_t slot)
EvtType::EVT_DATA: bytes are available in the slot's rx ring.
void(* on_abort)(uint8_t slot)
void(* on_poll)(uint8_t slot)
Called for an active slot each handle() loop (nullable).
void(* on_accept)(uint8_t slot)
EvtType::EVT_CONNECT: a new connection was accepted.
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
#define PROTOCORE_END_DECLS