RTEMS CPU Kit with SuperCore  4.11.3
telnetd.h
Go to the documentation of this file.
1 /*
2  * Original Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es)
3  * May 2001
4  * Reworked by Till Straumann and .h overhauled by Joel Sherrill.
5  *
6  * Copyright (c) 2009 embedded brains GmbH and others.
7  *
8  * embedded brains GmbH
9  * Obere Lagerstr. 30
10  * D-82178 Puchheim
11  * Germany
12  * <rtems@embedded-brains.de>
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_TELNETD_H
20 #define _RTEMS_TELNETD_H
21 
22 #include <rtems.h>
23 #include <rtems/shell.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
30  const char *user,
31  const char *passphrase
32 );
33 
37 typedef void (*rtems_telnetd_command)(
38  char * /* device name */,
39  void * /* arg */
40 );
41 
45 typedef struct {
52  rtems_telnetd_command command;
53 
57  void *arg;
58 
65  rtems_task_priority priority;
66 
70  size_t stack_size;
71 
77  rtems_shell_login_check_t login_check;
78 
87  bool keep_stdio;
89 
98 
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif
Priority_Control rtems_task_priority
Define the type for an RTEMS API task priority.
Definition: tasks.h:79
rtems_status_code
Classic API Status.
Definition: status.h:46
rtems_telnetd_config_table rtems_telnetd_config
Telnet configuration.
bool rtems_telnetd_login_check(const char *user, const char *passphrase)
Standard Telnet login check that uses DES to encrypt the passphrase.
Definition: check_passwd.c:84
void(* rtems_telnetd_command)(char *, void *)
Telnet command type.
Definition: telnetd.h:38
rtems_status_code rtems_telnetd_initialize(void)
Initializes the Telnet subsystem.
Definition: telnetd.c:291
Telnet configuration structure.
Definition: telnetd.h:46