summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/internal.h
blob: c33909c6190df8c99f8a2d49cedf3c1d4c8a2b0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 *  Shell Internal Information
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#ifndef _RTEMS_SHELL_INTERNAL_h
#define _RTEMS_SHELL_INTERNAL_h

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

struct shell_topic_tt;
typedef struct shell_topic_tt shell_topic_t;

struct shell_topic_tt {
  char          *topic;
  shell_topic_t *next;
};


extern shell_cmd_t   * shell_first_cmd;
extern shell_topic_t * shell_first_topic;

shell_topic_t * shell_lookup_topic(char * topic);


void shell_register_monitor_commands(void);
void shell_initialize_command_set(void);

#endif