From bd520203a03ca023dcbc0c77a6af59c4dc4c3b9a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 9 Aug 2001 22:06:51 +0000 Subject: 2001-08-09 Fernando-Ruiz Casas * Makefile.am, configure.in, rtems_servers/Makefile.am, rtems_servers/telnetd.c, rtems_servers/telnetd.h, rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h, wrapup/Makefile.am: - pty and telnetd have a new subdir rtems_telnetd to avoid the side effect when ftpd change. - the tcp/ip stats have been implemented into icmds.c and started when telnetd daemon is started. * rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed. * rtems_telnetd: New directory. * rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files. --- c/src/libnetworking/rtems_telnetd/telnetd.h | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 c/src/libnetworking/rtems_telnetd/telnetd.h (limited to 'c/src/libnetworking/rtems_telnetd/telnetd.h') diff --git a/c/src/libnetworking/rtems_telnetd/telnetd.h b/c/src/libnetworking/rtems_telnetd/telnetd.h new file mode 100644 index 0000000000..1bb99ebc1b --- /dev/null +++ b/c/src/libnetworking/rtems_telnetd/telnetd.h @@ -0,0 +1,35 @@ +/* + * (A first version for telnetd) + * + * Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es) + * May 2001 + * + * 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. + * + * rtems_initialize_telnetd() starts the daemon. + * main_telnetd() is the main_proc for the command telnetd in the shell + * register_telnetd() add a new command in the shell to start + * interactively the telnetd daemon. + * + * $Id$ + */ + +#ifndef __TELNETD_H +#define __TELNETD_H + +#ifdef __cplusplus +extern "C" { +#endif + +int rtems_initialize_telnetd(void); +int main_telnetd(int argc,char * argv[]); +int register_telnetd(void); + +#ifdef __cplusplus +} +#endif + +#endif + -- cgit v1.2.3