Types (structs, unions and typedefs)

typedef ngtcp2_conn *(*ngtcp2_crypto_get_conn)(ngtcp2_crypto_conn_ref *conn_ref)

ngtcp2_crypto_get_conn is a callback function to get a pointer to ngtcp2_conn from conn_ref. The implementation must return non-NULL ngtcp2_conn object.

type ngtcp2_crypto_conn_ref

ngtcp2_crypto_conn_ref is a structure to get a pointer to ngtcp2_conn. It is meant to be set to TLS native handle as an application specific data (e.g. SSL_set_app_data in quictls).

ngtcp2_crypto_get_conn get_conn

get_conn is a callback function to get a pointer to ngtcp2_conn object.

void *user_data

user_data is a pointer to arbitrary user data.

type ngtcp2_crypto_picotls_ctx

ngtcp2_crypto_picotls_ctx contains per-connection state of Picotls objects and must be an object to bet set to ngtcp2_conn_set_tls_native_handle().

ptls_t *ptls

ptls is a pointer to ptls_t object.

ptls_handshake_properties_t handshake_properties

handshake_properties is a set of configurations used during this particular TLS handshake.