[][src]Function tabbyssl::libssl::ssl::tabby_SSL_set_fd

#[no_mangle]pub extern "C" fn tabby_SSL_set_fd(ssl_ptr: *mut TABBY_SSL, fd: c_int) -> c_int

SSL_set_fd - set the file descriptor fd as the input/output facility for the TLS/SSL (encrypted) side of ssl. fd will typically be the socket file descriptor of a network connection.

#include <tabbyssl/openssl/ssl.h>

int SSL_set_fd(SSL *ssl, int fd);