Mercurial > hg > xemacs-beta
annotate src/process-slots.h @ 5386:af961911bcb2
Make listu() and listn() assemble lists in forward order. Use them.
See xemacs-patches message with ID
<AANLkTi=Tnd_e8WqiGBE2DmNGmY7zhqxhVNtxECnQo8w9@mail.gmail.com>
author | Jerry James <james@xemacs.org> |
---|---|
date | Tue, 29 Mar 2011 15:59:56 -0600 |
parents | b5611afbcc76 |
children | 308d34e9f07d |
rev | line source |
---|---|
1204 | 1 /* Definitions of marked slots in processes |
2 Copyright (C) 1985, 1992, 1993, 1994 Free Software Foundation, Inc. | |
3 Copyright (C) 2002 Ben Wing. | |
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: ????. Split out of procimpl.h. */ | |
23 | |
24 /* We define the Lisp_Objects in the process structure in a separate file | |
25 because there are numerous places we want to iterate over them, such | |
26 as when defining them in the structure, initializing them, or marking | |
27 them. | |
28 | |
29 To use, define MARKED_SLOT before including this file. No need to | |
30 undefine; that happens automatically. */ | |
31 | |
32 /* Name of this process */ | |
33 MARKED_SLOT (name) | |
34 /* List of command arguments that this process was run with */ | |
35 MARKED_SLOT (command) | |
36 /* (funcall FILTER PROC STRING) (if FILTER is non-nil) | |
37 to dispose of a bunch of chars from the process all at once */ | |
38 MARKED_SLOT (filter) | |
39 /* (funcall FILTER PROC STRING) (if FILTER is non-nil) | |
40 to dispose of a bunch of chars from the stderr of process all at once */ | |
41 MARKED_SLOT (stderr_filter) | |
42 /* (funcall SENTINEL PROCESS) when process state changes */ | |
43 MARKED_SLOT (sentinel) | |
44 /* Buffer that output or stderr output is going to */ | |
45 MARKED_SLOT (buffer) | |
46 MARKED_SLOT (stderr_buffer) | |
47 /* Marker set to end of last buffer-inserted output from this process */ | |
48 MARKED_SLOT (mark) | |
49 MARKED_SLOT (stderr_mark) | |
50 /* Lisp_Int of subprocess' PID, or a cons of | |
51 service/host if this is really a network connection */ | |
52 MARKED_SLOT (pid) | |
53 | |
54 /* Symbol indicating status of process. | |
55 This may be a symbol: run, stop, exit, signal */ | |
56 MARKED_SLOT (status_symbol) | |
57 /* Low level streams used in input and output, connected to child */ | |
58 MARKED_SLOT (pipe_instream) | |
59 MARKED_SLOT (pipe_outstream) | |
60 MARKED_SLOT (pipe_errstream) | |
61 /* Data end streams, decoding and encoding pipe_* streams */ | |
62 MARKED_SLOT (coding_instream) | |
63 MARKED_SLOT (coding_outstream) | |
64 MARKED_SLOT (coding_errstream) | |
65 | |
66 /* Name of subprocess terminal. Only needed for Unix but we put it | |
67 here to avoid complications with KKCC, which needs to know about | |
68 all of the Lisp objects, including in process-type-specific data. */ | |
69 MARKED_SLOT (tty_name) | |
70 | |
5255
b5611afbcc76
Support process plists, for greater GNU compatibility.
Aidan Kehoe <kehoea@parhasard.net>
parents:
1204
diff
changeset
|
71 MARKED_SLOT (plist) |
b5611afbcc76
Support process plists, for greater GNU compatibility.
Aidan Kehoe <kehoea@parhasard.net>
parents:
1204
diff
changeset
|
72 |
1204 | 73 #undef MARKED_SLOT |