forked from Imagelibrary/rtems
* 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.
36 lines
775 B
C
36 lines
775 B
C
/*
|
|
* (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
|
|
|