872
|
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 INCLUDED_console_stream_impl_h_
|
|
27 #define INCLUDED_console_stream_impl_h_
|
|
28
|
|
29 #include "console-impl.h"
|
|
30 #include "console-stream.h"
|
|
31
|
|
32 DECLARE_CONSOLE_TYPE (stream);
|
|
33
|
|
34 struct stream_console
|
|
35 {
|
|
36 FILE *in;
|
|
37 FILE *out;
|
|
38 FILE *err;
|
|
39 int needs_newline;
|
|
40 };
|
|
41
|
|
42 #define CONSOLE_STREAM_DATA(con) CONSOLE_TYPE_DATA (con, stream)
|
|
43
|
|
44 #endif /* INCLUDED_console_stream_impl_h_ */
|