25#ifndef PROTOCORE_TELNET_H
26#define PROTOCORE_TELNET_H
36typedef void (*TelnetCommandCb)(
const char *line, uint8_t conn_id);
41void pc_telnet_on_command(TelnetCommandCb cb);
44void pc_telnet_print(
const char *s);
47void pc_telnet_println(
const char *s);
62void pc_telnet_frame(
const pc_field *spec, ...);
65uint8_t pc_telnet_client_count();
70void pc_telnet_accept(uint8_t slot);
73void pc_telnet_rx(uint8_t slot);
76void pc_telnet_close(uint8_t slot);
Declarative frame builder: a frame is a static table of typed fields, built by one engine.
User-facing configuration for ProtoCore.
Per-protocol connection event/poll callbacks (Layer 5 dispatch vtable).
One field of a frame. Frames are static const pc_field[], so they live in rodata.