#include "./profinet/profinet_cb_exp_submodule_ind.hpp"
#include "./profinet/profinet.hpp"

int profinet_cb_exp_submodule_ind (
    pnet_t * net,
    void * arg,
    uint32_t api,
    uint16_t slot,
    uint16_t subslot,
    uint32_t module_id,
    uint32_t submodule_id,
    const pnet_data_cfg_t * p_exp_data)
{
    Profinet * const profinet_ptr = static_cast<Profinet*>(arg);

    return profinet_ptr->callbackExpSubmoduleInd(slot, subslot, module_id, submodule_id, p_exp_data);
}