Structure of the controlled halo-current magnetic field in the T-10 tokamak