summaryrefslogtreecommitdiff
path: root/src/process.h
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-01-31 01:34:45 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2016-01-31 01:34:45 +0100
commit0f47153b97ae31b82366a857ec2f937c1580b637 (patch)
treea5e3bbc672c6d3f0ddcf11ae8c648eafa1a847e8 /src/process.h
parentcc45809152ab596deb2115369116e573d43c219a (diff)
downloademacs-0f47153b97ae31b82366a857ec2f937c1580b637.tar.gz
Implement asynchronous GnuTLS connections
* doc/misc/emacs-gnutls.texi (Help For Developers): Mention the nowait parameter. * lisp/net/gnutls.el (open-gnutls-stream): Allow asynchronous connections with the new nowait parameter. * lisp/net/network-stream.el (network-stream-open-tls): Pass on :nowait to open-gnutls-stream. * lisp/url/url-http.el (url-http): Don't overwrite the sentinel created by open-gnutls-stream. * src/gnutls.c (Fgnutls_mark_process): New function. * src/process.c (send_process): Don't write to GnuTLS sockets that haven't been initialised yed. * src/process.h: New slot gnutls_wait_p.
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 990bbd55e3a..8bd555b83bd 100644
--- a/src/process.h
+++ b/src/process.h
@@ -192,6 +192,7 @@ struct Lisp_Process
int gnutls_log_level;
int gnutls_handshakes_tried;
bool_bf gnutls_p : 1;
+ bool_bf gnutls_wait_p : 1;
#endif
};