source:
rtems/cpukit/libmisc/shell/internal.h
@
7eada71
Last change on this file since 7eada71 was 7eada71, checked in by Sebastian Huber <sebastian.huber@…>, on 11/18/14 at 06:35:30 | |
---|---|
|
|
File size: 1.3 KB |
Rev | Line | |
---|---|---|
[4e5299f] | 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 | |
[c499856] | 6 | * http://www.rtems.org/license/LICENSE. |
[4e5299f] | 7 | */ |
8 | ||
[9ac81fe] | 9 | #ifndef _RTEMS_SHELL_INTERNAL_H |
10 | #define _RTEMS_SHELL_INTERNAL_H | |
[4e5299f] | 11 | |
[9cfd222] | 12 | #include "shell.h" |
13 | ||
[2eeb648c] | 14 | struct rtems_shell_topic_tt; |
15 | typedef struct rtems_shell_topic_tt rtems_shell_topic_t; | |
[4e5299f] | 16 | |
[2eeb648c] | 17 | struct rtems_shell_topic_tt { |
[e41eaa88] | 18 | const char *topic; |
[2eeb648c] | 19 | rtems_shell_topic_t *next; |
[4e5299f] | 20 | }; |
21 | ||
22 | ||
[2eeb648c] | 23 | extern rtems_shell_cmd_t * rtems_shell_first_cmd; |
24 | extern rtems_shell_topic_t * rtems_shell_first_topic; | |
[4e5299f] | 25 | |
[e41eaa88] | 26 | rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic); |
[4e5299f] | 27 | |
[7eada71] | 28 | bool rtems_shell_can_see_cmd(const rtems_shell_cmd_t *shell_cmd); |
29 | ||
[5c141d6a] | 30 | int rtems_shell_execute_cmd(const char *cmd, int argc, char *argv[]); |
[814d9588] | 31 | |
[9cfd222] | 32 | extern void rtems_shell_register_monitor_commands(void); |
[2eeb648c] | 33 | |
[9cfd222] | 34 | extern void rtems_shell_print_heap_info( |
[694bd9f] | 35 | const char *c, |
36 | Heap_Information *h | |
37 | ); | |
[814d9588] | 38 | |
[9cfd222] | 39 | |
40 | extern void rtems_shell_print_unified_work_area_message(void); | |
41 | ||
42 | extern int rtems_shell_main_rm(int argc, char *argv[]); | |
43 | extern int rtems_shell_main_cp(int argc, char *argv[]); | |
44 | ||
45 | #include <sys/types.h> | |
46 | ||
47 | extern void strmode(mode_t mode, char *p); | |
[5383441c] | 48 | extern const char *user_from_uid(uid_t uid, int nouser); |
49 | extern char *group_from_gid(gid_t gid, int nogroup); | |
[9cfd222] | 50 | |
[4e5299f] | 51 | #endif |
Note: See TracBrowser
for help on using the repository browser.