ngtcp2_crypto_gnutls_from_gnutls_record_encryption_level

Synopsis

#include <ngtcp2/ngtcp2_crypto_gnutls.h>

ngtcp2_encryption_level ngtcp2_crypto_gnutls_from_gnutls_record_encryption_level(gnutls_record_encryption_level_t gtls_level)

ngtcp2_crypto_gnutls_from_gnutls_record_encryption_level() translates gtls_level to ngtcp2_encryption_level. This function is only available for GnuTLS backend.