/* TERMINAL MODULE Copyright (C) 2016-2019 by Xose PĂ©rez */ #pragma once #include "espurna.h" #if TERMINAL_SUPPORT #include #include #include #include #include "terminal_parsing.h" #include "terminal_commands.h" void terminalOK(); void terminalError(const String& error); void terminalOK(Print&); void terminalError(Print&, const String& error); void terminalOK(const terminal::CommandContext&); void terminalError(const terminal::CommandContext&, const String&); void terminalRegisterCommand(const String& name, terminal::Terminal::CommandFunc func); size_t terminalCapacity(); void terminalInject(void *data, size_t len); void terminalInject(char ch); Stream& terminalDefaultStream(); void terminalSetup(); #endif // TERMINAL_SUPPORT == 1