third_party/inchi/INCHI_BASE/src/ichi_io.c
int Output_RecordInfo(INCHI_IOSTREAM   *out_file,
    int              num_input_struct,
    int              bNoStructLabels,
    const char       *szSdfLabel,
    const char       *szSdfValue,
    unsigned long    lSdfId,
    char             *pLF,
    char             *pTAB)
{
    if (bNoStructLabels)
    {
        return 0;
    }

#ifdef TARGET_LIB_FOR_WINCHI
    /*out_file->s.nUsedLength = 0;
    inchi_ios_reset( out_file );*/
#endif
    if (!(szSdfLabel && szSdfLabel[0]) && !(szSdfValue && szSdfValue[0]))
    {
        inchi_ios_print_nodisplay(out_file, "%sStructure: %d", pLF, num_input_struct);
        inchi_ios_print_nodisplay(out_file, "%s", pTAB);
    }
    else
    {
        inchi_ios_print_nodisplay(out_file, "%sStructure: %d.%s%s%s%s",
            pLF, num_input_struct,
            SDF_LBL_VAL(szSdfLabel, szSdfValue));

        if (lSdfId)
        {
            (out_file->s.nUsedLength)--;
            inchi_ios_print_nodisplay(out_file, ":%lu", lSdfId);
        }
        inchi_ios_print_nodisplay(out_file, "%s", pTAB);
    }

    return 0;
}
/****************************************************************************
Output structure (compound) header for current record
****************************************************************************/
Output structure (compound) header for current record
Output structure ( compound ) header for current record
int Output_RecordInfo(INCHI_IOSTREAM   *out_file,
    int              num_input_struct,
    int              bNoStructLabels,
    const char       *szSdfLabel,
    const char       *szSdfValue,
    unsigned long    lSdfId,
    char             *pLF,
    char             *pTAB)
{
    if (bNoStructLabels)
    {
        return 0;
    }
#ifdef TARGET_LIB_FOR_WINCHI
#endif
    if (!(szSdfLabel && szSdfLabel[0]) && !(szSdfValue && szSdfValue[0]))
    {
        inchi_ios_print_nodisplay(out_file, "%sStructure: %d", pLF, num_input_struct);
        inchi_ios_print_nodisplay(out_file, "%s", pTAB);
    }
    else
    {
        inchi_ios_print_nodisplay(out_file, "%sStructure: %d.%s%s%s%s",
            pLF, num_input_struct,
            SDF_LBL_VAL(szSdfLabel, szSdfValue));
        if (lSdfId)
        {
            (out_file->s.nUsedLength)--;
            inchi_ios_print_nodisplay(out_file, ":%lu", lSdfId);
        }
        inchi_ios_print_nodisplay(out_file, "%s", pTAB);
    }
    return 0;
}
int Output_RecordInfo ( INCHI_IOSTREAM * out_file , int num_input_struct , int bNoStructLabels , const char * szSdfLabel , const char * szSdfValue , unsigned long lSdfId , char * pLF , char * pTAB ) { if ( bNoStructLabels ) { return 0 ; } #ifdef TARGET_LIB_FOR_WINCHI #endif if ( ! ( szSdfLabel && szSdfLabel [ 0 ] ) && ! ( szSdfValue && szSdfValue [ 0 ] ) ) { inchi_ios_print_nodisplay ( out_file , " " , pLF , num_input_struct ) ; inchi_ios_print_nodisplay ( out_file , " " , pTAB ) ; } else { inchi_ios_print_nodisplay ( out_file , " " , pLF , num_input_struct , SDF_LBL_VAL ( szSdfLabel , szSdfValue ) ) ; if ( lSdfId ) { ( out_file -> s . nUsedLength ) -- ; inchi_ios_print_nodisplay ( out_file , " " , lSdfId ) ; } inchi_ios_print_nodisplay ( out_file , " " , pTAB ) ; } return 0 ; }
Output structure (compound) header for current record
Output structure ( compound ) header for current record
/*out_file->s.nUsedLength = 0;
    inchi_ios_reset( out_file );*/