con_input
interface facilitates sending simulated input
to the target system. It is implemented by the text console.
Simulated input is passed through the associated recorder object and then sent to the serial device connected to the console. The console will not perform VT100 input handling or BS/DEL conversion.
The input_str method allows input of a NUL-terminated string. The input_data allows sending a buffer, which can include NUL characters.
SIM_INTERFACE(con_input) { void (*input_str)(conf_object_t *NOTNULL obj, const char *str); void (*input_data)(conf_object_t *NOTNULL obj, bytes_t data); }; #define CON_INPUT_INTERFACE "con_input"