NAME
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