sw_sync: export sw_sync API