source: rtems/cpukit/telnetd/telnetd.h @ 79061679

4.104.114.84.95
Last change on this file since 79061679 was 79061679, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 25, 2005 at 2:19:45 PM

2005-10-25 Ralf Corsepius <ralf.corsepius@…>

  • telnetd/icmds.c: Rename register_icmds to _rtems_telnet_register_icmds. Make main_* functions static.
  • telnetd/pty.c: Make many functions static. Rename rtems_telnetd_maximum_ptys to rtems_pty_maximum_ptys.
  • telnetd/pty.h: Reflect changes above. Rename get_pty to rtems_pty_get. New header guards.
  • telnetd/telnetd.c: Reflect changes above.
  • telnetd/telnetd.h: New header guards.
  • Property mode set to 100644
File size: 983 bytes
Line 
1/*
2 * (A first version for telnetd)
3 *
4 *  Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es)
5 *  May 2001
6 *
7 *  This program is distributed in the hope that it will be useful,
8 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 *
11 *  rtems_initialize_telnetd() starts the daemon.
12 *  main_telnetd() is the main_proc for the command telnetd in the shell
13 *  register_telnetd() add a new command in the shell to start
14 *  interactively the telnetd daemon.
15 *
16 *  $Id$
17 */
18
19#ifndef _RTEMS_TELNETD_H
20#define _RTEMS_TELNETD_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif 
25
26extern int rtems_telnetd_initialize(void);
27extern int rtems_telnetd_main(int argc,char * argv[]);
28extern int rtems_telnetd_register(void);
29
30/* OBSOLETE */
31#define rtems_initialize_telnetd        rtems_telnetd_initialize
32#define main_telnetd                    rtems_telnetd_main
33#define register_telnetd                rtems_telnetd_register
34
35#ifdef __cplusplus
36}
37#endif 
38
39#endif
Note: See TracBrowser for help on using the repository browser.