SLOG_Irec_SetAssocs

Set the association array of the interval record.

Synopsis


int SLOG_Irec_SetAssocs(       SLOG_intvlrec_t  *intvlrec,
                         const SLOG_STREAM      *slog,
                         const SLOG_N_assocs_t   N_assocs,
                         const SLOG_assoc_t     *assocs  )

Modified Input Variables

intvlrec - pointer to the internal Interval record to be modified.

Unmodified Input Variables

slog - pointer to the SLOG_STREAM where the Record Definition Table is defined.
N_assocs - Number of elements in the association array. This number will be checked to determine if it coincides with what is in Record Definition Table
assocs - association array, array of file pointers to the associated interval records of the specified interval record.

Modified Output Variables

returned value - integer return status.

Usage Notes on this subroutine

The subroutine appends the specified Internal Interval Record with the given association array. This subroutine is meant to be called once for each interval record written to the slogfile.

Include File Needed

slog.h

Location:../src/slog_irec_write.c