diff options
author | tedu <> | 2014-10-08 14:47:15 +0000 |
---|---|---|
committer | tedu <> | 2014-10-08 14:47:15 +0000 |
commit | f2c6f852a17ae2e11013ea1ecbe89657ba3e0ecb (patch) | |
tree | 383a8b8fbdcd90425214aa963b45c9741328ed1f /src/lib | |
parent | ee31efc9fc6dc843464d5d9b7703070b7c2768ec (diff) | |
download | openbsd-f2c6f852a17ae2e11013ea1ecbe89657ba3e0ecb.tar.gz openbsd-f2c6f852a17ae2e11013ea1ecbe89657ba3e0ecb.tar.bz2 openbsd-f2c6f852a17ae2e11013ea1ecbe89657ba3e0ecb.zip |
add a few more functions.
(I also forgot to credit doug for much of the initial markup in the
previous commit.)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libressl/ressl.3 | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/lib/libressl/ressl.3 b/src/lib/libressl/ressl.3 index 634dcdbc33..7f141d12fa 100644 --- a/src/lib/libressl/ressl.3 +++ b/src/lib/libressl/ressl.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ressl.3,v 1.1 2014/10/08 14:40:01 tedu Exp $ | 1 | .\" $OpenBSD: ressl.3,v 1.2 2014/10/08 14:47:15 tedu Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> | 3 | .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -271,24 +271,36 @@ The following functions create, prepare, and free a connection context. | |||
271 | .It | 271 | .It |
272 | .Fn ressl_client | 272 | .Fn ressl_client |
273 | creates a new ressl context for client connections. | 273 | creates a new ressl context for client connections. |
274 | .Pp | ||
275 | .It | 274 | .It |
276 | .Fn ressl_server | 275 | .Fn ressl_server |
277 | creates a new ressl context for server connections. | 276 | creates a new ressl context for server connections. |
278 | .Pp | ||
279 | .It | 277 | .It |
280 | .Fn ressl_configure | 278 | .Fn ressl_configure |
281 | readies a ressl context for use by applying the configuration | 279 | readies a ressl context for use by applying the configuration |
282 | options. | 280 | options. |
283 | .Pp | 281 | .It |
282 | .Fn ressl_close | ||
283 | closes a connection after use. | ||
284 | .It | 284 | .It |
285 | .Fn ressl_free | 285 | .Fn ressl_free |
286 | frees a ressl context after use. | 286 | frees a ressl context after use. |
287 | .El | 287 | .El |
288 | .Pp | 288 | .Pp |
289 | The following functions perform input and output operations. | 289 | The following functions initiate a connection and perform input and output |
290 | operations. | ||
290 | .Bl -bullet -offset four | 291 | .Bl -bullet -offset four |
291 | .It | 292 | .It |
293 | .Fn ressl_connect | ||
294 | connects a client context to the server named by | ||
295 | .Fa host. | ||
296 | The | ||
297 | .Fa port | ||
298 | may be numeric or a service name. | ||
299 | If it is NULL then a host of the format "hostname:port" is permitted. | ||
300 | .It | ||
301 | .Fn ressl_connect_socket | ||
302 | connects a client context to an already established socket connection. | ||
303 | .It | ||
292 | .Fn ressl_read | 304 | .Fn ressl_read |
293 | reads | 305 | reads |
294 | .Fa buflen | 306 | .Fa buflen |