prp/PRP_EnvironmentConfiguration_T.c
/**
 * @fn void PRP_EnvironmentConfiguration_T_cleanup(PRP_EnvironmentConfiguration_T* const me)
 * @brief Clean up the PRP_EnvironmentConfiguration interface
 * @param   me PRP_Environment_T this pointer
 */
@fn void PRP_EnvironmentConfiguration_T_cleanup(PRP_EnvironmentConfiguration_T* const me)
@brief Clean up the PRP_EnvironmentConfiguration interface
@param   me PRP_Environment_T this pointer
@fn void PRP_EnvironmentConfiguration_T_cleanup ( PRP_EnvironmentConfiguration_T * const me ) @brief Clean up the PRP_EnvironmentConfiguration interface @param me PRP_Environment_T this pointer
void PRP_EnvironmentConfiguration_T_cleanup(PRP_EnvironmentConfiguration_T* const me)
{
    PRP_PRP_LOGOUT(3, "[%s] entering \n", __FUNCTION__);
    if (me == NULL_PTR) {
        return;
    }
    prp_memset(me->node_, 0, PRP_NODE_NAME_LENGTH);
    prp_memset(me->manufacturer_, 0, PRP_MANUFACTURER_NAME_LENGTH);
    prp_memset(me->version_, 0, PRP_VERSION_LENGTH);
    prp_memset(me->mac_address_A_, 0, PRP_ETH_ADDR_LENGTH);
    prp_memset(me->mac_address_B_, 0, PRP_ETH_ADDR_LENGTH);
    me->adapter_active_A_ = FALSE;
    me->adapter_active_B_ = FALSE;
    me->duplicate_discard_ = TRUE;
    me->transparent_reception_ = FALSE;
    me->cnt_total_sent_A_ = 0;
    me->cnt_total_sent_B_ = 0;
    me->cnt_total_received_A_ = 0;
    me->cnt_total_received_B_ = 0;
    me->cnt_total_errors_A_ = 0;
    me->cnt_total_errors_B_ = 0;
}
void PRP_EnvironmentConfiguration_T_cleanup ( PRP_EnvironmentConfiguration_T * const me ) { PRP_PRP_LOGOUT ( 3 , " \n " , __FUNCTION__ ) ; if ( me == NULL_PTR ) { return ; } prp_memset ( me -> node_ , 0 , PRP_NODE_NAME_LENGTH ) ; prp_memset ( me -> manufacturer_ , 0 , PRP_MANUFACTURER_NAME_LENGTH ) ; prp_memset ( me -> version_ , 0 , PRP_VERSION_LENGTH ) ; prp_memset ( me -> mac_address_A_ , 0 , PRP_ETH_ADDR_LENGTH ) ; prp_memset ( me -> mac_address_B_ , 0 , PRP_ETH_ADDR_LENGTH ) ; me -> adapter_active_A_ = FALSE ; me -> adapter_active_B_ = FALSE ; me -> duplicate_discard_ = TRUE ; me -> transparent_reception_ = FALSE ; me -> cnt_total_sent_A_ = 0 ; me -> cnt_total_sent_B_ = 0 ; me -> cnt_total_received_A_ = 0 ; me -> cnt_total_received_B_ = 0 ; me -> cnt_total_errors_A_ = 0 ; me -> cnt_total_errors_B_ = 0 ; }
@fn void PRP_EnvironmentConfiguration_T_cleanup(PRP_EnvironmentConfiguration_T* const me)
 @brief Clean up the PRP_EnvironmentConfiguration interface
 @param   me PRP_Environment_T this pointer
@fn void PRP_EnvironmentConfiguration_T_cleanup ( PRP_EnvironmentConfiguration_T * const me ) @brief Clean up the PRP_EnvironmentConfiguration interface @param me PRP_Environment_T this pointer