source: rtems/cpukit/libmisc/shell/internal.h @ 5383441c

4.115
Last change on this file since 5383441c was 5383441c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/04/11 at 18:18:52

2011-12-04 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
  • Property mode set to 100644
File size: 1.2 KB
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
14#include "shell.h"
15
16struct rtems_shell_topic_tt;
17typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
18
19struct rtems_shell_topic_tt {
20  const char          *topic;
21  rtems_shell_topic_t *next;
22};
23
24
25extern rtems_shell_cmd_t   * rtems_shell_first_cmd;
26extern rtems_shell_topic_t * rtems_shell_first_topic;
27
28rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
29
30
31extern void rtems_shell_register_monitor_commands(void);
32extern void rtems_shell_initialize_command_set(void);
33
34extern void rtems_shell_print_heap_info(
35  const char       *c,
36  Heap_Information *h
37);
38
39
40extern int rtems_shell_main_mdump(int argc, char *argv[]);
41
42extern void rtems_shell_print_unified_work_area_message(void);
43
44extern int rtems_shell_main_rm(int argc, char *argv[]);
45extern int rtems_shell_main_cp(int argc, char *argv[]);
46
47#include <sys/types.h>
48
49extern void strmode(mode_t mode, char *p);
50extern const char *user_from_uid(uid_t uid, int nouser);
51extern char *group_from_gid(gid_t gid, int nogroup);
52
53#endif
Note: See TracBrowser for help on using the repository browser.