diff options
| author | tedu <> | 2014-10-08 14:47:15 +0000 |
|---|---|---|
| committer | tedu <> | 2014-10-08 14:47:15 +0000 |
| commit | 007b77c4f7be079d99a45be43f657d7ad7f87c5c (patch) | |
| tree | 383a8b8fbdcd90425214aa963b45c9741328ed1f | |
| parent | 50bd3797ec22123fa4b6168ec79d8d6e6b80f2a9 (diff) | |
| download | openbsd-007b77c4f7be079d99a45be43f657d7ad7f87c5c.tar.gz openbsd-007b77c4f7be079d99a45be43f657d7ad7f87c5c.tar.bz2 openbsd-007b77c4f7be079d99a45be43f657d7ad7f87c5c.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 '')
| -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 |
