0
|
1 /* Define stream specific console, device, and frame object for XEmacs.
|
|
2 Copyright (C) 1995 Board of Trustees, University of Illinois.
|
|
3 Copyright (C) 1995 Free Software Foundation, Inc.
|
|
4
|
|
5 This file is part of XEmacs.
|
|
6
|
|
7 XEmacs is free software; you can redistribute it and/or modify it
|
|
8 under the terms of the GNU General Public License as published by the
|
|
9 Free Software Foundation; either version 2, or (at your option) any
|
|
10 later version.
|
|
11
|
|
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
15 for more details.
|
|
16
|
|
17 You should have received a copy of the GNU General Public License
|
|
18 along with XEmacs; see the file COPYING. If not, write to
|
|
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
20 Boston, MA 02111-1307, USA. */
|
|
21
|
|
22 /* Synched up with: Not in FSF. */
|
|
23
|
|
24 /* Written by Ben Wing. */
|
|
25
|
|
26 #ifndef _XEMACS_CONSOLE_STREAM_H_
|
|
27 #define _XEMACS_CONSOLE_STREAM_H_
|
|
28
|
|
29 #include "console.h"
|
|
30
|
|
31 DECLARE_CONSOLE_TYPE (stream);
|
|
32
|
|
33 struct stream_console
|
|
34 {
|
|
35 FILE *infd, *outfd, *errfd;
|
|
36 int needs_newline;
|
|
37 };
|
|
38
|
|
39 #define CONSOLE_STREAM_DATA(d) CONSOLE_TYPE_DATA (d, stream)
|
|
40
|
163
|
41 extern Lisp_Object stream_semi_canonicalize_console_connection(Lisp_Object,
|
|
42 Error_behavior);
|
|
43 extern Lisp_Object stream_canonicalize_console_connection(Lisp_Object,
|
|
44 Error_behavior);
|
|
45 extern Lisp_Object stream_semi_canonicalize_device_connection(Lisp_Object,
|
|
46 Error_behavior);
|
|
47 extern Lisp_Object stream_canonicalize_device_connection(Lisp_Object,
|
|
48 Error_behavior);
|
0
|
49 #endif /* _XEMACS_CONSOLE_STREAM_H_ */
|