diff options
Diffstat (limited to 'cpukit/telnetd/telnetd.h')
-rw-r--r-- | cpukit/telnetd/telnetd.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cpukit/telnetd/telnetd.h b/cpukit/telnetd/telnetd.h new file mode 100644 index 0000000000..c8c068c9fb --- /dev/null +++ b/cpukit/telnetd/telnetd.h @@ -0,0 +1,39 @@ +/* + * (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 _RTEMS_TELNETD_H +#define _RTEMS_TELNETD_H + +#ifdef __cplusplus +extern "C" { +#endif + +extern int rtems_telnetd_initialize(void); +extern int rtems_telnetd_main(int argc,char * argv[]); +extern int rtems_telnetd_register(void); + +/* OBSOLETE */ +#define rtems_initialize_telnetd rtems_telnetd_initialize +#define main_telnetd rtems_telnetd_main +#define register_telnetd rtems_telnetd_register + +#ifdef __cplusplus +} +#endif + +#endif |