/* Function for sending an event to all registered event handlers.  */
static void evt_send(im_evt_t *p_event)
/* Function for sending an event to all registered event handlers.  */
static void evt_send(im_evt_t *p_event)
{
    for (uint32_t i = 0; i < m_im.n_registrants; i++)
    {
        m_im.evt_handlers[i](p_event);
    }
}