diff options
Diffstat (limited to 'src/process.h')
| -rw-r--r-- | src/process.h | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/src/process.h b/src/process.h index 74d1a124060..765e5d82567 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Definitions for asynchronous process control in GNU Emacs. | 1 | /* Definitions for asynchronous process control in GNU Emacs. |
| 2 | Copyright (C) 1985, 1994, 2001-2012 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1994, 2001-2013 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -159,7 +159,7 @@ struct Lisp_Process | |||
| 159 | gnutls_anon_client_credentials_t gnutls_anon_cred; | 159 | gnutls_anon_client_credentials_t gnutls_anon_cred; |
| 160 | int gnutls_log_level; | 160 | int gnutls_log_level; |
| 161 | int gnutls_handshakes_tried; | 161 | int gnutls_handshakes_tried; |
| 162 | int gnutls_p; | 162 | unsigned int gnutls_p : 1; |
| 163 | #endif | 163 | #endif |
| 164 | }; | 164 | }; |
| 165 | 165 | ||
| @@ -185,26 +185,9 @@ pset_gnutls_cred_type (struct Lisp_Process *p, Lisp_Object val) | |||
| 185 | } | 185 | } |
| 186 | #endif | 186 | #endif |
| 187 | 187 | ||
| 188 | /* True if we are about to fork off a synchronous process or if we | 188 | /* True means don't run process sentinels. This is used |
| 189 | are waiting for it. */ | ||
| 190 | extern bool synch_process_alive; | ||
| 191 | |||
| 192 | /* Communicate exit status of sync process to from sigchld_handler | ||
| 193 | to Fcall_process. */ | ||
| 194 | |||
| 195 | /* Nonzero => this is a string explaining death of synchronous subprocess. */ | ||
| 196 | extern const char *synch_process_death; | ||
| 197 | |||
| 198 | /* Nonzero => this is the signal number that terminated the subprocess. */ | ||
| 199 | extern int synch_process_termsig; | ||
| 200 | |||
| 201 | /* If synch_process_death is zero, | ||
| 202 | this is exit code of synchronous subprocess. */ | ||
| 203 | extern int synch_process_retcode; | ||
| 204 | |||
| 205 | /* Nonzero means don't run process sentinels. This is used | ||
| 206 | when exiting. */ | 189 | when exiting. */ |
| 207 | extern int inhibit_sentinels; | 190 | extern bool inhibit_sentinels; |
| 208 | 191 | ||
| 209 | extern Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname; | 192 | extern Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname; |
| 210 | extern Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime; | 193 | extern Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime; |
| @@ -215,12 +198,18 @@ extern Lisp_Object QCspeed; | |||
| 215 | extern Lisp_Object QCbytesize, QCstopbits, QCparity, Qodd, Qeven; | 198 | extern Lisp_Object QCbytesize, QCstopbits, QCparity, Qodd, Qeven; |
| 216 | extern Lisp_Object QCflowcontrol, Qhw, Qsw, QCsummary; | 199 | extern Lisp_Object QCflowcontrol, Qhw, Qsw, QCsummary; |
| 217 | 200 | ||
| 201 | /* Defined in callproc.c. */ | ||
| 202 | |||
| 203 | extern void record_kill_process (struct Lisp_Process *); | ||
| 204 | |||
| 205 | /* Defined in process.c. */ | ||
| 206 | |||
| 218 | extern Lisp_Object list_system_processes (void); | 207 | extern Lisp_Object list_system_processes (void); |
| 219 | extern Lisp_Object system_process_attributes (Lisp_Object); | 208 | extern Lisp_Object system_process_attributes (Lisp_Object); |
| 220 | 209 | ||
| 221 | extern void hold_keyboard_input (void); | 210 | extern void hold_keyboard_input (void); |
| 222 | extern void unhold_keyboard_input (void); | 211 | extern void unhold_keyboard_input (void); |
| 223 | extern int kbd_on_hold_p (void); | 212 | extern bool kbd_on_hold_p (void); |
| 224 | 213 | ||
| 225 | typedef void (*fd_callback) (int fd, void *data); | 214 | typedef void (*fd_callback) (int fd, void *data); |
| 226 | 215 | ||