ec_ssl_ctx_from_event

March 26, 2020 Contributors

Name

ec_ssl_ctx_from_event — Get an SSL context from an event

Synopsis

#include "ec_ssl.h"

| ec_ssl_ctx * **ec_ssl_ctx_from_event** ( | e); |   |

Event * <var class="pdparam">e</var>;

Description

Get an SSL context from an event.

Parameters

e

The Event.

Return Values

On success this function returns an ec_ssl_ctx struct; on failure, NULL is returned.

Threading

It is legal to call this function in the Scheduler thread.

See Also

“ec_ssl_ctx” and “Event”