third_party/inchi/INCHI_BASE/src/ichiprt1.c
int OutputAUXINFO_TautomericGroupsEquivalence( CANON_GLOBALS    *pCG,
                                               INCHI_IOSTREAM   *out_file,
                                               INCHI_IOS_STRING *strbuf,
                                               INCHI_OUT_CTL    *io )
{
    if (io->bTautomericOutputAllowed && io->bTautomeric && io->bTautEqu[io->iCurTautMode] && !io->bSecondNonTautPass)
    {
        /*-- Tautomeric groups constitutional equivalence */

        /*-- aux tgroup equ */
        szGetTag( AuxLbl, io->nTag, io->bTag1 = AL_GEQU | io->bFhTag, io->szTag1, &io->bAlways );
        inchi_strbuf_reset( strbuf ); io->tot_len = 0;
        io->tot_len = str_AuxTgroupEqu( io->pINChISort,
                                    strbuf, &io->bOverflow, io->bOutType, io->TAUT_MODE,
                                    io->num_components, io->bUseMulipliers );
        if (str_LineEnd( io->szTag1, &io->bOverflow, strbuf, -1, io->bPlainTextTags ))
        {
            return 1;
        }
        inchi_ios_print( out_file, "%s", strbuf->pStr );
    }
    else
    {
        if (io->bTautomericOutputAllowed && io->bTautomeric)
        {
            if (io->bPlainTextTags == 1)
            {
                inchi_ios_print( out_file, "/" );
            }
        }
    }

    return 0;
}
/****************************************************************************
Output AuxInfo: tautomeric groups equivalence
****************************************************************************/
Output AuxInfo: tautomeric groups equivalence
Output AuxInfo : tautomeric groups equivalence
int OutputAUXINFO_TautomericGroupsEquivalence( CANON_GLOBALS    *pCG,
                                               INCHI_IOSTREAM   *out_file,
                                               INCHI_IOS_STRING *strbuf,
                                               INCHI_OUT_CTL    *io )
{
    if (io->bTautomericOutputAllowed && io->bTautomeric && io->bTautEqu[io->iCurTautMode] && !io->bSecondNonTautPass)
    {
        szGetTag( AuxLbl, io->nTag, io->bTag1 = AL_GEQU | io->bFhTag, io->szTag1, &io->bAlways );
        inchi_strbuf_reset( strbuf ); io->tot_len = 0;
        io->tot_len = str_AuxTgroupEqu( io->pINChISort,
                                    strbuf, &io->bOverflow, io->bOutType, io->TAUT_MODE,
                                    io->num_components, io->bUseMulipliers );
        if (str_LineEnd( io->szTag1, &io->bOverflow, strbuf, -1, io->bPlainTextTags ))
        {
            return 1;
        }
        inchi_ios_print( out_file, "%s", strbuf->pStr );
    }
    else
    {
        if (io->bTautomericOutputAllowed && io->bTautomeric)
        {
            if (io->bPlainTextTags == 1)
            {
                inchi_ios_print( out_file, "/" );
            }
        }
    }
    return 0;
}
int OutputAUXINFO_TautomericGroupsEquivalence ( CANON_GLOBALS * pCG , INCHI_IOSTREAM * out_file , INCHI_IOS_STRING * strbuf , INCHI_OUT_CTL * io ) { if ( io -> bTautomericOutputAllowed && io -> bTautomeric && io -> bTautEqu [ io -> iCurTautMode ] && ! io -> bSecondNonTautPass ) { szGetTag ( AuxLbl , io -> nTag , io -> bTag1 = AL_GEQU | io -> bFhTag , io -> szTag1 , & io -> bAlways ) ; inchi_strbuf_reset ( strbuf ) ; io -> tot_len = 0 ; io -> tot_len = str_AuxTgroupEqu ( io -> pINChISort , strbuf , & io -> bOverflow , io -> bOutType , io -> TAUT_MODE , io -> num_components , io -> bUseMulipliers ) ; if ( str_LineEnd ( io -> szTag1 , & io -> bOverflow , strbuf , -1 , io -> bPlainTextTags ) ) { return 1 ; } inchi_ios_print ( out_file , " " , strbuf -> pStr ) ; } else { if ( io -> bTautomericOutputAllowed && io -> bTautomeric ) { if ( io -> bPlainTextTags == 1 ) { inchi_ios_print ( out_file , " " ) ; } } } return 0 ; }
Output AuxInfo: tautomeric groups equivalence
Output AuxInfo : tautomeric groups equivalence
/*-- Tautomeric groups constitutional equivalence */ /*-- aux tgroup equ */