summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/rtems_telnetd/pty.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libnetworking/rtems_telnetd/pty.h')
-rw-r--r--c/src/libnetworking/rtems_telnetd/pty.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/c/src/libnetworking/rtems_telnetd/pty.h b/c/src/libnetworking/rtems_telnetd/pty.h
deleted file mode 100644
index 9d3d6295ce..0000000000
--- a/c/src/libnetworking/rtems_telnetd/pty.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * /dev/ptyXX (A first version for pseudo-terminals)
- *
- * Author: Fernando RUIZ CASAS (fernando.ruiz@ctv.es)
- * May 2001
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * $Id$
- */
-
-#ifndef __PTY_H
-#define __PTY_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <rtems.h>
-
-#ifndef MAX_PTYS
-#define MAX_PTYS 16
-#endif
-
-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 }
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif