diff options
author | Andrea Grandi <andrea.grandi@intel.com> | 2016-10-18 10:53:14 +0100 |
---|---|---|
committer | Andrea Grandi <andrea.grandi@intel.com> | 2016-10-19 08:45:02 +0100 |
commit | 50c3fc00cc3090d082669591c0923a8468f2d8f9 (patch) | |
tree | 06c335806c20c8aa4922dccaed921cf9e978d425 /doc | |
parent | a1f2b0e6e07a53c0ae2c81cba319b90e54210cd6 (diff) |
Fix broken link to ASYNC_get_wait_ctx and rewrap the paragraph
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1745)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/ASYNC_WAIT_CTX_new.pod | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/crypto/ASYNC_WAIT_CTX_new.pod b/doc/crypto/ASYNC_WAIT_CTX_new.pod index de1bd5777d..580c4e5dd7 100644 --- a/doc/crypto/ASYNC_WAIT_CTX_new.pod +++ b/doc/crypto/ASYNC_WAIT_CTX_new.pod @@ -78,20 +78,20 @@ application will have to periodically "poll" the job by attempting to restart it to see if it is ready to continue. Async aware code (e.g. engines) can get the current ASYNC_WAIT_CTX from the job -via L<ASYNC_get_async_wait_ctx(3)> and provide a file descriptor to use for -waiting on by calling ASYNC_WAIT_CTX_set_wait_fd(). Typically this would be done -by an engine immediately prior to calling ASYNC_pause_job() and not by end user -code. An existing association with a file descriptor can be obtained using +via L<ASYNC_get_wait_ctx(3)> and provide a file descriptor to use for waiting +on by calling ASYNC_WAIT_CTX_set_wait_fd(). Typically this would be done by an +engine immediately prior to calling ASYNC_pause_job() and not by end user code. +An existing association with a file descriptor can be obtained using ASYNC_WAIT_CTX_get_fd() and cleared using ASYNC_WAIT_CTX_clear_fd(). Both of -these functions requires a B<key> value which is unique to the async aware code. -This could be any unique value but a good candidate might be the B<ENGINE *> for -the engine. The B<custom_data> parameter can be any value, and will be returned -in a subsequent call to ASYNC_WAIT_CTX_get_fd(). The +these functions requires a B<key> value which is unique to the async aware +code. This could be any unique value but a good candidate might be the +B<ENGINE *> for the engine. The B<custom_data> parameter can be any value, and +will be returned in a subsequent call to ASYNC_WAIT_CTX_get_fd(). The ASYNC_WAIT_CTX_set_wait_fd() function also expects a pointer to a "cleanup" -routine. This can be NULL but if provided will automatically get called when the -ASYNC_WAIT_CTX is freed, and gives the engine the opportunity to close the fd or -any other resources. Note: The "cleanup" routine does not get called if the fd -is cleared directly via a call to ASYNC_WAIT_CTX_clear_fd(). +routine. This can be NULL but if provided will automatically get called when +the ASYNC_WAIT_CTX is freed, and gives the engine the opportunity to close the +fd or any other resources. Note: The "cleanup" routine does not get called if +the fd is cleared directly via a call to ASYNC_WAIT_CTX_clear_fd(). An example of typical usage might be an async capable engine. User code would initiate cryptographic operations. The engine would initiate those operations |