annotate src/console-stream.h @ 331:c9ae480b1fff r21-0-63

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