source: rtems/cpukit/telnetd/telnetd.h @ 8ad6681b

4.104.114.95
Last change on this file since 8ad6681b was 8ad6681b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/25/07 at 17:14:01

2007-09-25 Joel Sherrill <joel.sherrill@…>

  • telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c, telnetd/telnetd.h: telnetd rewrite.
  • telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * (A first version for telnetd)
3 *
4 *  Original Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es)
5 *  May 2001
6 *
7 *  Reworked by Till Straumann and .h overhauled by Joel Sherrill.
8 *
9 *  This program is distributed in the hope that it will be useful,
10 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 *
13 *
14 *  $Id$
15 */
16
17#ifndef _RTEMS_TELNETD_H
18#define _RTEMS_TELNETD_H
19
20#ifdef __cplusplus
21extern "C" {
22#endif 
23
24/*
25 *  Initialize the telnetd subsystem.
26 *
27 *  cmd        - function which is the "shell" telnetd invokes
28 *  arg        - context pointer to cmd
29 *  dontSpawn  - TRUE if telnetd takes over this task.
30 *               FALSE to create another task for the shell.
31 *  stack      - stack size of spawned task
32 *  priority   - initial priority of spawned task
33 */
34int rtems_telnetd_initialize(
35  void               (*cmd)(char *, void *),
36  void                *arg,
37  int                  dontSpawn,
38  size_t               stack,
39  rtems_task_priority  priority
40);
41
42#ifdef __cplusplus
43}
44#endif 
45
46#endif
Note: See TracBrowser for help on using the repository browser.