Reformatted.
[chise/xemacs-chise.git.1] / src / console-stream.h
index e532bd0..a82bd99 100644 (file)
@@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA.  */
 
 /* Written by Ben Wing. */
 
-#ifndef _XEMACS_CONSOLE_STREAM_H_
-#define _XEMACS_CONSOLE_STREAM_H_
+#ifndef INCLUDED_console_stream_h_
+#define INCLUDED_console_stream_h_
 
 #include "console.h"
 
@@ -32,12 +32,16 @@ DECLARE_CONSOLE_TYPE (stream);
 
 struct stream_console
 {
-  FILE *infd, *outfd, *errfd;
+  FILE *in;
+  FILE *out;
+  FILE *err;
   int needs_newline;
 };
 
 #define CONSOLE_STREAM_DATA(con) CONSOLE_TYPE_DATA (con, stream)
 
+extern Lisp_Object Vterminal_console, Vterminal_frame, Vterminal_device;
+
 Lisp_Object stream_semi_canonicalize_console_connection(Lisp_Object,
                                                        Error_behavior);
 Lisp_Object stream_canonicalize_console_connection(Lisp_Object,
@@ -46,4 +50,4 @@ Lisp_Object stream_semi_canonicalize_device_connection(Lisp_Object,
                                                       Error_behavior);
 Lisp_Object stream_canonicalize_device_connection(Lisp_Object,
                                                  Error_behavior);
-#endif /* _XEMACS_CONSOLE_STREAM_H_ */
+#endif /* INCLUDED_console_stream_h_ */