From 4fb917263ac30373cb3e5dfe3e207369eb238def Mon Sep 17 00:00:00 2001
From: Laurent Bercot
int sbearssl_send_environment (br_ssl_engine_context *ctx, int fd)
+ Writes a series of null-terminated strings of the form key=value +to file descriptor fd; the series is terminated with an additional +null character. The strings represent information about the TLS connection +represented by context ctx; it is only valid to call this function +after the handshake has completed. The exact keys used will change over time, +but at least SSL_PROTOCOL=value and SSL_CIPHER=value are +transmitted. The function returns 1 if it succeeds and 0 if it fails. +
+ void sbearssl_run (br_ssl_engine_context *ctx, int *fds, tain_t const *tto, uint32_t options, unsigned int verbosity, sbearssl_handshake_cb_t_ref cb, sbearssl_handshake_cb_context_t *cbarg)
int stls_send_environment (struct tls *ctx, int fd)
+ Writes a series of null-terminated strings of the form key=value +to file descriptor fd; the series is terminated with an additional +null character. The strings represent information about the TLS connection +represented by context ctx; it is only valid to call this function +after the handshake has completed. The exact keys used will change over time, +but at least SSL_PROTOCOL=value and SSL_CIPHER=value are +transmitted. The function returns 1 if it succeeds and 0 if it fails. +
+ struct tls *stls_client_init_and_handshake (int const *fds, uint32_t preoptions, char const *servername)