/* This routine sets the message acceptance filters on a CAN channel.  */
static canStatus LeafLightLibFuncSetAcceptanceFilter(const CanHandle hnd, uint32_t code, uint32_t mask, int32_t is_extended)
/* This routine sets the message acceptance filters on a CAN channel.  */
static canStatus LeafLightLibFuncSetAcceptanceFilter(const CanHandle hnd, uint32_t code, uint32_t mask, int32_t is_extended)
{
  canStatus result = canERR_NOTINITIALIZED;
  assert(leafLightLibFuncSetAcceptanceFilterPtr != NULL);
  assert(leafLightDllHandle != NULL);
  if ((leafLightLibFuncSetAcceptanceFilterPtr != NULL) && (leafLightDllHandle != NULL))
  {
    result = leafLightLibFuncSetAcceptanceFilterPtr(hnd, code, mask, is_extended);
  }
  return result;
}