picoquic/tls_api.c
void picoquic_provide_received_transport_extensions(picoquic_cnx_t* cnx,
    uint8_t** ext_received,
    size_t* ext_received_length,
    int* ext_received_return,
    int* client_mode)
{
    picoquic_tls_ctx_t* ctx = (picoquic_tls_ctx_t*)cnx->tls_ctx;

    *ext_received = ctx->ext_received;
    *ext_received_length = ctx->ext_received_length;
    *ext_received_return = ctx->ext_received_return;
    *client_mode = ctx->client_mode;
}
/*
 * Provide access to transport received transport extension for
 * logging purpose.
 */
Provide access to transport received transport extension for
logging purpose.
Provide access to transport received transport extension for logging purpose .
void picoquic_provide_received_transport_extensions(picoquic_cnx_t* cnx,
    uint8_t** ext_received,
    size_t* ext_received_length,
    int* ext_received_return,
    int* client_mode)
{
    picoquic_tls_ctx_t* ctx = (picoquic_tls_ctx_t*)cnx->tls_ctx;
    *ext_received = ctx->ext_received;
    *ext_received_length = ctx->ext_received_length;
    *ext_received_return = ctx->ext_received_return;
    *client_mode = ctx->client_mode;
}
void picoquic_provide_received_transport_extensions ( picoquic_cnx_t * cnx , uint8_t * * ext_received , size_t * ext_received_length , int * ext_received_return , int * client_mode ) { picoquic_tls_ctx_t * ctx = ( picoquic_tls_ctx_t * ) cnx -> tls_ctx ; * ext_received = ctx -> ext_received ; * ext_received_length = ctx -> ext_received_length ; * ext_received_return = ctx -> ext_received_return ; * client_mode = ctx -> client_mode ; }
Provide access to transport received transport extension for
 logging purpose.
Provide access to transport received transport extension for logging purpose .