Files
rtems/cpukit/libmisc/shell/internal.h
Joel Sherrill 694bd9f68e 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/Makefile.am: Add new files.
	* libmisc/shell/internal.h: Prototype for rtems_shell_print_heap_info()
	* libmisc/shell/main_mallocinfo.c: Use rtems_shell_print_heap_info().
	* libmisc/shell/shellconfig.h: Add wkspace command.
	* libmisc/shell/main_wkspaceinfo.c,
	libmisc/shell/print_heapinfo.c: New files.
2008-01-07 17:46:25 +00:00

49 lines
1.0 KiB
C

/*
* 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 rtems_shell_topic_tt;
typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
struct rtems_shell_topic_tt {
char *topic;
rtems_shell_topic_t *next;
};
extern rtems_shell_cmd_t * rtems_shell_first_cmd;
extern rtems_shell_topic_t * rtems_shell_first_topic;
rtems_shell_topic_t * rtems_shell_lookup_topic(char * topic);
void rtems_shell_register_monitor_commands(void);
void rtems_shell_initialize_command_set(void);
int rtems_shell_libc_mounter(
const char* driver,
const char* path,
rtems_shell_filesystems_t* fs,
rtems_filesystem_options_t options
);
void rtems_shell_print_heap_info(
const char *c,
Heap_Information *h
);
#endif