[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/async-dns 072d535 1/3: Add documentation for :tls-
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] feature/async-dns 072d535 1/3: Add documentation for :tls-parameters |
Date: |
Mon, 01 Feb 2016 02:37:38 +0000 |
branch: feature/async-dns
commit 072d5357c15587af00eeba31033ef5b83d014223
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Add documentation for :tls-parameters
* doc/lispref/processes.texi (Network Processes): Mention
:tls-parameters.
* src/process.c (Fmake_network_process): Document the
:tls-parameters parameter.
---
doc/lispref/processes.texi | 5 +++++
src/process.c | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index f660b15..b658c88 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -2418,6 +2418,11 @@ second argument matching @code{"open"} (if successful) or
@code{make-network-process} does not return until the connection
has succeeded or failed.
address@hidden :tls-parameters
+When opening a TLS connection, this should be where the first element
+is the TLS type, and the remaining elements should form a keyword list
+acceptable for @code{gnutls-boot}.
+
@item :stop @var{stopped}
If @var{stopped} is address@hidden, start the network connection or
server in the stopped state.
diff --git a/src/process.c b/src/process.c
index 0e4fcb2..13f4b6a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3444,6 +3444,10 @@ and MESSAGE is a string.
:plist PLIST -- Install PLIST as the new process's initial plist.
+:tls-parameters LIST -- is a list that should be supplied if you're
+opening a TLS connection. The first element is the TLS type, and the
+remaining elements should be a keyword list accepted by gnutls-boot.
+
:server QLEN -- if QLEN is non-nil, create a server process for the
specified FAMILY, SERVICE, and connection type (stream or datagram).
If QLEN is an integer, it is used as the max. length of the server's