deimos.event2.bufferevent_ssl

@file event2/bufferevent_ssl.h

OpenSSL support for bufferevents.

Public Imports

deimos.event2.bufferevent
public import deimos.event2.bufferevent;
deimos.event2.util
public import deimos.event2.util;

Members

Enums

bufferevent_ssl_state
enum bufferevent_ssl_state

The state of an SSL object to be used when creating a new SSL bufferevent.

Functions

bufferevent_get_openssl_error
c_ulong bufferevent_get_openssl_error(bufferevent* bev)

Return the most recent OpenSSL error reported on an SSL bufferevent.

bufferevent_openssl_filter_new
bufferevent* bufferevent_openssl_filter_new(event_base* base, bufferevent* underlying, ssl_st* ssl, bufferevent_ssl_state state, int options)

Create a new SSL bufferevent to send its data over another bufferevent.

bufferevent_openssl_get_ssl
ssl_st* bufferevent_openssl_get_ssl(bufferevent* bufev)

Return the underlying openssl SSL * object for an SSL bufferevent.

bufferevent_openssl_socket_new
bufferevent* bufferevent_openssl_socket_new(event_base* base, evutil_socket_t fd, ssl_st* ssl, bufferevent_ssl_state state, int options)

Create a new SSL bufferevent to send its data over an SSL * on a socket.

bufferevent_ssl_renegotiate
int bufferevent_ssl_renegotiate(bufferevent* bev)

Tells a bufferevent to begin SSL renegotiation.

Structs

ssl_st
struct ssl_st
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta