[sw_api] Switch operations structure

Defined the switch operations structure containing
pointers to functions in the switch API.

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