[sw_api] Add switch_operation pointer to every function

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>