diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 23:10:25 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 23:10:25 +0000 |
commit | edcb9827dc7f2d30e5cda9ed790b460d49ba9b94 (patch) | |
tree | 7c028303633e1f048d58947a2362a188a5198b1b /cpukit/telnetd/telnetd.h | |
parent | 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-edcb9827dc7f2d30e5cda9ed790b460d49ba9b94.tar.bz2 |
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
Now works on gen5200/icecube.
Diffstat (limited to 'cpukit/telnetd/telnetd.h')
-rw-r--r-- | cpukit/telnetd/telnetd.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/cpukit/telnetd/telnetd.h b/cpukit/telnetd/telnetd.h index 2cdbdc109e..afebd20a16 100644 --- a/cpukit/telnetd/telnetd.h +++ b/cpukit/telnetd/telnetd.h @@ -20,19 +20,23 @@ extern "C" { /* * Initialize the telnetd subsystem. * - * cmd - function which is the "shell" telnetd invokes - * arg - context pointer to cmd - * dontSpawn - TRUE if telnetd takes over this task. - * FALSE to create another task for the shell. - * stack - stack size of spawned task - * priority - initial priority of spawned task + * cmd - function which is the "shell" telnetd invokes + * arg - context pointer to cmd + * dontSpawn - TRUE if telnetd takes over this task. + * FALSE to create another task for the shell. + * stack - stack size of spawned task + * priority - initial priority of spawned task + * askForPassword - TRUE if telnetd asks for password + * FALSE to invoke "cmd" with no password check. + * This may be OK if "cmd" includes its own check. */ int rtems_telnetd_initialize( void (*cmd)(char *, void *), void *arg, int dontSpawn, size_t stack, - rtems_task_priority priority + rtems_task_priority priority, + int askForPassword ); #ifdef __cplusplus |