pty.h

Go to the documentation of this file.
00001 /*
00002 ** pty.h for  in /root/work/lseosr2b/programs/pty
00003 ** 
00004 ** Made by Vianney Rancurel
00005 ** Login   <vianney@epita.fr>
00006 ** 
00007 ** Started on  Wed Mar 31 11:39:51 2004 Vianney Rancurel
00008 ** Last update Mon Dec  6 12:21:26 2004 Vianney Rancurel
00009 */
00010 #ifndef __PTY_H__
00011 #define __PTY_H__       1
00012 
00013 typedef struct  s_pty
00014 {
00015   int           not_avail;
00016   t_tty         *master;
00017   t_tty         *slave;
00018 }               t_pty;
00019 
00020 /* PROTO pty.c */
00021 /* pty.c */
00022 int pty_init(t_ttydev *ttydev, t_tty *tty, void **ttydev_data);
00023 void pty_destroy(void *ttydev_data);
00024 ssize_t pty_write(void *ttydev_data, char *buf, int len);
00025 int pty_start(void *ttydev_data);
00026 int pty_ioctl(void *ttydev_data, int cmd, void *input);
00027 int ptys_init(t_ttydev *ttydev, t_tty *tty, void **ttydev_data);
00028 void ptys_destroy(void *ttydev_data);
00029 ssize_t ptys_write(void *ttydev_data, char *buf, int len);
00030 int ptys_start(void *ttydev_data);
00031 void pty_class_init(void);
00032 #endif

Generated on Wed May 24 23:05:52 2006 for LSE/OS by  doxygen 1.4.6