/* Registers the event callback functions that should be called by the CAN interface.  */
static void IxxatVciRegisterEvents(tCanEvents const *events)
/* Registers the event callback functions that should be called by the CAN interface.  */
static void IxxatVciRegisterEvents(tCanEvents const *events)
{
  assert(events != NULL);
  if (events != NULL)
  {
    ixxatVciEventsList = realloc(ixxatVciEventsList,
                                (sizeof(tCanEvents) * (ixxatVciEventsEntries + 1)));
    assert(ixxatVciEventsList != NULL);
    if (ixxatVciEventsList != NULL)
    {
      ixxatVciEventsEntries++;
      ixxatVciEventsList[ixxatVciEventsEntries - 1] = *events;
    }
    else
    {
      ixxatVciEventsEntries = 0;
    }
  }
}