diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-09 22:06:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-09 22:06:51 +0000 |
commit | bd520203a03ca023dcbc0c77a6af59c4dc4c3b9a (patch) | |
tree | 2b8ea98bc80ca168c3776ed17a49a061560db8b8 /cpukit/telnetd/telnetd.h | |
parent | 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com> (diff) | |
download | rtems-bd520203a03ca023dcbc0c77a6af59c4dc4c3b9a.tar.bz2 |
2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* 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.
Diffstat (limited to '')
-rw-r--r-- | cpukit/telnetd/telnetd.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/cpukit/telnetd/telnetd.h b/cpukit/telnetd/telnetd.h new file mode 100644 index 0000000000..1bb99ebc1b --- /dev/null +++ b/cpukit/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 + |