summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-09 22:08:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-09 22:08:46 +0000
commit70d689aed44d7568310dec851d0a773a850ba66a (patch)
tree8705f45b17fe681d5a844e24d3fb545a91535d02 /cpukit/libmisc/shell/shell.h
parentbd520203a03ca023dcbc0c77a6af59c4dc4c3b9a (diff)
downloadrtems-70d689aed44d7568310dec851d0a773a850ba66a.tar.bz2
2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* shell/Makefile.am, shell/README, shell/cmds.c, shell/shell.c, shell/shell.h: Updates.
Diffstat (limited to 'cpukit/libmisc/shell/shell.h')
-rw-r--r--cpukit/libmisc/shell/shell.h48
1 files changed, 12 insertions, 36 deletions
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h
index 3b9522f10a..6c8cbc6771 100644
--- a/cpukit/libmisc/shell/shell.h
+++ b/cpukit/libmisc/shell/shell.h
@@ -1,4 +1,15 @@
/*
+ *
+ * Instantatiate a new terminal shell.
+ *
+ * Author:
+ *
+ * WORK: fernando.ruiz@ctv.es
+ * HOME: correo@fernando-ruiz.com
+ *
+ * Thanks at:
+ * Chris John
+ *
* $Id$
*/
@@ -53,6 +64,7 @@ typedef struct {
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 ,
rtems_unsigned32 task_stacksize,/*0 default*/
@@ -64,42 +76,6 @@ rtems_status_code shell_init(char * task_name ,
extern shell_env_t global_shell_env,
* current_shell_env;
/*--------*/
-/* pty.c */
-/*--------*/
-
-char * get_pty(int socket);
-
-
-rtems_device_driver pty_initialize(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *arg);
-rtems_device_driver pty_open(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void * arg);
-rtems_device_driver pty_close(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void * arg);
-rtems_device_driver pty_read(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void * arg);
-rtems_device_driver pty_write(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void * arg);
-rtems_device_driver pty_control(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void * arg);
-
-
-#define PTY_DRIVER_TABLE_ENTRY \
- { pty_initialize , pty_open , pty_close , \
- pty_read , pty_write , pty_control }
-/*--------*/
/* cmds.c */
/*--------*/
int str2int(char * s);