SSL_get_all_async_fds (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
SSL_waiting_for_async, SSL_get_all_async_fds, SSL_get_changed_async_fds - manage asynchronous operationsSYNOPSIS
#include <openssl/async.h> #include <openssl/ssl.h> int SSL_waiting_for_async(SSL *s); int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fd, size_t *numfds); int SSL_get_changed_async_fds(SSL *s, OSSL_ASYNC_FD *addfd, size_t *numaddfds, OSSL_ASYNC_FD *delfd, size_t *numdelfds);
DESCRIPTION
SSL_waiting_for_async() determines whether anSSL_get_all_async_fds() returns a list of file descriptor which can be used in a call to select() or poll() to determine whether the current asynchronous operation has completed or not. A completed operation will result in data appearing as ``read ready'' on the file descriptor (no actual data should be read from the file descriptor). This function should only be called if the
SSL_get_changed_async_fds() returns a list of the asynchronous file descriptors that have been added and a list that have been deleted since the last
RETURN VALUES
SSL_waiting_for_async() will return 1 if the currentSSL_get_all_async_fds() and SSL_get_changed_async_fds() return 1 on success or 0 on error.
NOTES
On Windows platforms the openssl/async.h header is dependent on some of the types customarily made available by including windows.h. The application developer is likely to require control over when the latter is included, commonly as one of the first included headers. Therefore it is defined as an application developer's responsibility to include windows.h prior to async.h.SEE ALSO
SSL_get_error(3), SSL_CTX_set_mode(3)HISTORY
SSL_waiting_for_async(), SSL_get_all_async_fds() and SSL_get_changed_async_fds() were first added to OpenSSL 1.1.0.COPYRIGHT
Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.Licensed under the OpenSSL license (the ``License''). You may not use this file except in compliance with the License. You can obtain a copy in the file