comparison src/process.h @ 5118:e0db3c197671 ben-lisp-object

merge up to latest default branch, doesn't compile yet
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:18:49 -0600
parents aa5ed11f473b
children b5df3737028a
comparison
equal deleted inserted replaced
5117:3742ea8250b5 5118:e0db3c197671
20 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02111-1307, USA. */
21 21
22 #ifndef INCLUDED_process_h_ 22 #ifndef INCLUDED_process_h_
23 #define INCLUDED_process_h_ 23 #define INCLUDED_process_h_
24 24
25 #if defined (NO_SUBPROCESSES)
26 #undef XPROCESS
27 #undef CHECK_PROCESS
28 #define PROCESSP(x) 0
29 #define PROCESS_LIVE_P(x) 0
30 #define Fprocess_status(x) Qnil
31 #define Fget_process(x) Qnil
32 #define Fget_buffer_process(x) Qnil
33 #define kill_buffer_processes(x) 0
34 #define close_process_descs() 0
35 #define init_xemacs_process() 0
36
37 #else /* not NO_SUBPROCESSES */
38
39 BEGIN_C_DECLS 25 BEGIN_C_DECLS
40 26
41 /* struct Lisp_Process is defined in procimpl.h; only process-*.c need 27 /* struct Lisp_Process is defined in procimpl.h; only process-*.c need
42 to know about the guts of it. */ 28 to know about the guts of it. */
43 29
44 DECLARE_LRECORD (process, Lisp_Process); 30 DECLARE_LISP_OBJECT (process, Lisp_Process);
45 #define XPROCESS(x) XRECORD (x, process, Lisp_Process) 31 #define XPROCESS(x) XRECORD (x, process, Lisp_Process)
46 #define wrap_process(p) wrap_record (p, process) 32 #define wrap_process(p) wrap_record (p, process)
47 #define PROCESSP(x) RECORDP (x, process) 33 #define PROCESSP(x) RECORDP (x, process)
48 #define CHECK_PROCESS(x) CHECK_RECORD (x, process) 34 #define CHECK_PROCESS(x) CHECK_RECORD (x, process)
49 #define PROCESS_LIVE_P(x) (EQ ((x)->status_symbol, Qrun)) 35 #define PROCESS_LIVE_P(x) (EQ ((x)->status_symbol, Qrun))
120 const char *signal_name (int signum); 106 const char *signal_name (int signum);
121 Lisp_Object canonicalize_host_name (Lisp_Object host); 107 Lisp_Object canonicalize_host_name (Lisp_Object host);
122 108
123 END_C_DECLS 109 END_C_DECLS
124 110
125 #endif /* not NO_SUBPROCESSES */
126
127 /* The name of the file open to get a null file, or a data sink. 111 /* The name of the file open to get a null file, or a data sink.
128 MS-DOS, and OS/2 redefine this. */ 112 MS-DOS, and OS/2 redefine this. */
129 #ifndef NULL_DEVICE 113 #ifndef NULL_DEVICE
130 #define NULL_DEVICE "/dev/null" 114 #define NULL_DEVICE "/dev/null"
131 #endif 115 #endif