uxlsnr: use typedef for trigger function