#include "./profinet/profinet_cb_dcontrol_ind.hpp"
#include "./profinet/profinet.hpp"

int profinet_cb_dcontrol_ind (
        pnet_t * net,
        void * arg,
        uint32_t arep,
        pnet_control_command_t control_command,
        pnet_result_t * p_result)
{
    Profinet * const profinet_ptr = static_cast<Profinet*>(arg);

    return profinet_ptr->callbackDcontrolInd(arep, control_command, p_result);
}