  A correspondence between different $Pin$-type structures on a compact surface
and quadratic (linear) forms on its homology is constructed. Addition of
structures is defined and expressed in terms of these quadratic forms.
