
ngtcp2_ccerr_default
====================

Synopsis
--------

*#include <ngtcp2/ngtcp2.h>*

.. function:: void ngtcp2_ccerr_default(ngtcp2_ccerr *ccerr)

    
    `ngtcp2_ccerr_default` initializes *ccerr* with the default values.
    It sets the following fields:
    
    - :member:`type <ngtcp2_ccerr.type>` =
      :enum:`ngtcp2_ccerr_type.NGTCP2_CCERR_TYPE_TRANSPORT`
    - :member:`error_code <ngtcp2_ccerr.error_code>` =
      :macro:`NGTCP2_NO_ERROR`.
    - :member:`frame_type <ngtcp2_ccerr.frame_type>` = 0
    - :member:`reason <ngtcp2_ccerr.reason>` = NULL
    - :member:`reasonlen <ngtcp2_ccerr.reasonlen>` = 0
