aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2016-03-05 17:04:23 +0100
committerLars Magne Ingebrigtsen2016-03-05 17:04:34 +0100
commit21b509d4449bd33045e019dbcc90f5283434c07e (patch)
tree644fc1aa00a61458b1cb05456bdeac0a90e885fa /src/process.h
parent76b97fb0f9674fb0d0a888bc3aefc79a03faab70 (diff)
downloademacs-21b509d4449bd33045e019dbcc90f5283434c07e.tar.gz
emacs-21b509d4449bd33045e019dbcc90f5283434c07e.zip
Allow making TLS negotiation blocking
* lisp/net/gnutls.el (gnutls-negotiate): Make negotiation blocking. * src/gnutls.c (Fgnutls_boot): Provide a new keyword, :complete-negotiation, to specify that we want complete negotiation even if the socket is non-blocking. (gnutls_try_handshake): Complete negotiation if given that keyword. * src/process.h (L): Added gnutls_complete_negotiation_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 038d58b7370..95bd1b65363 100644
--- a/src/process.h
+++ b/src/process.h
@@ -193,6 +193,7 @@ struct Lisp_Process
193 int gnutls_log_level; 193 int gnutls_log_level;
194 int gnutls_handshakes_tried; 194 int gnutls_handshakes_tried;
195 bool_bf gnutls_p : 1; 195 bool_bf gnutls_p : 1;
196 bool_bf gnutls_complete_negotiation_p : 1;
196#endif 197#endif
197}; 198};
198 199