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.
This commit is contained in:
Lars Ingebrigtsen 2016-02-01 03:15:36 +01:00
parent 2cc69b4573
commit 072d5357c1
2 changed files with 9 additions and 0 deletions

View file

@ -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.
@item :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 non-@code{nil}, start the network connection or
server in the stopped state.

View file

@ -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