source: rtems/cpukit/libmisc/shell/internal.h @ 9e06eb1

4.104.115
Last change on this file since 9e06eb1 was e41eaa88, checked in by Joel Sherrill <joel.sherrill@…>, on 12/18/08 at 15:25:27

2008-12-18 Sebastian Huber <sebastian.huber@…>

  • libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h: Fixed incompatible return value.
  • libmisc/cpuuse/cpuusagereport.c: Changed output format.
  • libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file.
  • libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c, libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c, libmisc/monitor/monitor.h, libmisc/shell/cat_file.c, libmisc/shell/cmds.c, libmisc/shell/internal.h, libmisc/shell/main_help.c, libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c, libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global data is now read only. Added 'const' qualifier to many pointer parameters. It is no longer possible to remove monitor commands. Moved monitor line editor into a separate file to avoid unnecessary dependencies.
  • Property mode set to 100644
File size: 999 bytes
Line 
1/*
2 *  Shell Internal Information
3 *
4 *  The license and distribution terms for this file may be
5 *  found in the file LICENSE in this distribution or at
6 *  http://www.rtems.com/license/LICENSE.
7 *
8 *  $Id$
9 */
10
11#ifndef _RTEMS_SHELL_INTERNAL_H
12#define _RTEMS_SHELL_INTERNAL_H
13
14struct rtems_shell_topic_tt;
15typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
16
17struct rtems_shell_topic_tt {
18  const char          *topic;
19  rtems_shell_topic_t *next;
20};
21
22
23extern rtems_shell_cmd_t   * rtems_shell_first_cmd;
24extern rtems_shell_topic_t * rtems_shell_first_topic;
25
26rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
27
28
29void rtems_shell_register_monitor_commands(void);
30void rtems_shell_initialize_command_set(void);
31
32int rtems_shell_libc_mounter(
33  const char*                driver,
34  const char*                path,
35  rtems_shell_filesystems_t* fs,
36  rtems_filesystem_options_t options
37);
38
39void rtems_shell_print_heap_info(
40  const char       *c,
41  Heap_Information *h
42);
43
44#endif
Note: See TracBrowser for help on using the repository browser.