I am trying to write function for Initialise system while inserting a function pointer for System triggered handling with System index and the value
So How can I access the variables index and val in System_Init function 
typedef void (*System_Handler)(unsigned int short indx, char val);
void System_Init(Switch_Handler sw_hdl)
{
  unsigned short int test; 
  test = indx;
  /* Need to access variables indx and val  Here . How can we do ?*/
}
 
     
    