Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:19

0001 /*
0002  *  Shell Internal Information
0003  *
0004  *  The license and distribution terms for this file may be
0005  *  found in the file LICENSE in this distribution or at
0006  *  http://www.rtems.org/license/LICENSE.
0007  */
0008 
0009 #ifndef _RTEMS_SHELL_INTERNAL_H
0010 #define _RTEMS_SHELL_INTERNAL_H
0011 
0012 #include <rtems/shell.h>
0013 
0014 extern rtems_shell_cmd_t   * rtems_shell_first_cmd;
0015 extern rtems_shell_topic_t * rtems_shell_first_topic;
0016 
0017 extern void rtems_shell_register_monitor_commands(void);
0018 
0019 extern void rtems_shell_print_heap_info(
0020   const char             *c,
0021   const Heap_Information *h
0022 );
0023 
0024 extern void rtems_shell_print_heap_stats(
0025   const Heap_Statistics *s
0026 );
0027 
0028 extern void rtems_shell_print_unified_work_area_message(void);
0029 
0030 #include <sys/types.h>
0031 
0032 extern void strmode(mode_t mode, char *p);
0033 extern const char *user_from_uid(uid_t uid, int nouser);
0034 extern char *group_from_gid(gid_t gid, int nogroup);
0035 
0036 #endif