void vswap(detinfo *from, detinfo *to) { detinfo laik; laik = *from; *from = *to; *to = laik; }