aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 8d9f8f4c072..c7531576915 100644
--- a/src/process.h
+++ b/src/process.h
@@ -106,6 +106,7 @@ struct Lisp_Process
106 106
107#ifdef HAVE_GNUTLS 107#ifdef HAVE_GNUTLS
108 Lisp_Object gnutls_cred_type; 108 Lisp_Object gnutls_cred_type;
109 Lisp_Object gnutls_boot_parameters;
109#endif 110#endif
110 111
111 /* Pipe process attached to the standard error of this process. */ 112 /* Pipe process attached to the standard error of this process. */
@@ -161,7 +162,25 @@ struct Lisp_Process
161 flag indicates that `raw_status' contains a new status that still 162 flag indicates that `raw_status' contains a new status that still
162 needs to be synced to `status'. */ 163 needs to be synced to `status'. */
163 bool_bf raw_status_new : 1; 164 bool_bf raw_status_new : 1;
165 /* Whether this is a nonblocking socket. */
166 bool_bf is_non_blocking_client : 1;
167 /* Whether this is a server or a client socket. */
168 bool_bf is_server : 1;
164 int raw_status; 169 int raw_status;
170 /* The length of the socket backlog. */
171 int backlog;
172 /* The port number. */
173 int port;
174 /* The socket type. */
175 int socktype;
176 /* The socket protocol. */
177 int ai_protocol;
178
179#ifdef HAVE_GETADDRINFO_A
180 /* Whether the socket is waiting for response from an asynchronous
181 DNS call. */
182 struct gaicb **dns_requests;
183#endif
165 184
166#ifdef HAVE_GNUTLS 185#ifdef HAVE_GNUTLS
167 gnutls_initstage_t gnutls_initstage; 186 gnutls_initstage_t gnutls_initstage;
@@ -191,6 +210,12 @@ pset_childp (struct Lisp_Process *p, Lisp_Object val)
191 p->childp = val; 210 p->childp = val;
192} 211}
193 212
213INLINE void
214pset_status (struct Lisp_Process *p, Lisp_Object val)
215{
216 p->status = val;
217}
218
194#ifdef HAVE_GNUTLS 219#ifdef HAVE_GNUTLS
195INLINE void 220INLINE void
196pset_gnutls_cred_type (struct Lisp_Process *p, Lisp_Object val) 221pset_gnutls_cred_type (struct Lisp_Process *p, Lisp_Object val)