Files
rtems/cpukit/libmisc/shell/internal.h
Ralf Corsepius 5383441cf7 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
2011-12-04 18:18:52 +00:00

54 lines
1.3 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
#include "shell.h"
struct rtems_shell_topic_tt;
typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
struct rtems_shell_topic_tt {
const 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(const char *topic);
extern void rtems_shell_register_monitor_commands(void);
extern void rtems_shell_initialize_command_set(void);
extern void rtems_shell_print_heap_info(
const char *c,
Heap_Information *h
);
extern int rtems_shell_main_mdump(int argc, char *argv[]);
extern void rtems_shell_print_unified_work_area_message(void);
extern int rtems_shell_main_rm(int argc, char *argv[]);
extern int rtems_shell_main_cp(int argc, char *argv[]);
#include <sys/types.h>
extern void strmode(mode_t mode, char *p);
extern const char *user_from_uid(uid_t uid, int nouser);
extern char *group_from_gid(gid_t gid, int nogroup);
#endif