diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/libnetworking/rtems_telnetd/telnetd.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 + |