2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>

* libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
	of the focus was on the beginning stages of making the login checker
	pluggable just like the shell.
This commit is contained in:
Joel Sherrill
2007-11-09 21:39:21 +00:00
parent c6b590db20
commit 6dd411aa14
3 changed files with 454 additions and 373 deletions
+6
View File
@@ -1,3 +1,9 @@
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/shell/shell.h: Much cleanup but much
of the focus was on the beginning stages of making the login checker
pluggable just like the shell.
2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/mprotect.c: Update comments.
File diff suppressed because it is too large Load Diff
+21 -14
View File
@@ -33,12 +33,12 @@ struct shell_cmd_tt ;
typedef struct shell_cmd_tt shell_cmd_t;
struct shell_cmd_tt {
char * name;
char * usage;
char * topic;
shell_command_t command;
shell_cmd_t * alias;
shell_cmd_t * next;
char *name;
char *usage;
char *topic;
shell_command_t command;
shell_cmd_t *alias;
shell_cmd_t *next;
};
uint32_t new_rtems_name(char * rtems_name);
@@ -69,15 +69,22 @@ int shell_scanline(char * line,int size,FILE * in,FILE * out) ;
void cat_file(FILE * out,char *name);
void write_file(char *name,char * content);
rtems_status_code shell_init(char * task_name ,
uint32_t task_stacksize,/*0 default*/
rtems_task_priority task_priority ,
char * devname ,
tcflag_t tcflag ,
int forever );
rtems_status_code shell_init(
char *task_name,
uint32_t task_stacksize, /*0 default*/
rtems_task_priority task_priority,
char *devname,
tcflag_t tcflag,
int forever
);
rtems_boolean shell_shell_loop(
shell_env_t *shell_env
);
extern shell_env_t global_shell_env;
extern shell_env_t *current_shell_env;
extern shell_env_t global_shell_env,
* current_shell_env;
/*--------*/
/* cmds.c */
/*--------*/