/* * NetCosm - a MUD server * Copyright (C) 2016 Franklin Wei * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #pragma once #include void telnet_init(void); enum telnet_status { TELNET_DATA = 0, TELNET_FOUNDCMD, TELNET_LINEOVER, TELNET_EXIT }; enum telnet_status telnet_parse_data(unsigned char*, size_t); uint16_t telnet_get_width(void); uint16_t telnet_get_height(void); void telnet_echo_on(void); void telnet_echo_off(void); void telnet_clear_screen(void);