SLOG_RDEF_AddRecDef

Add one definition to the SLOG Record Definition table.

Synopsis


int SLOG_RDEF_AddRecDef(       SLOG_STREAM          *slog,
                         const SLOG_intvltype_t      intvltype,
                         const SLOG_bebit_t          bebit_0,
                         const SLOG_bebit_t          bebit_1,
                         const SLOG_N_assocs_t       Nassocs,
                         const SLOG_N_args_t         Nargs )

Modified Input Variables

slog - pointer to the SLOG_STREAM where SLOG Record Definition Table is located.

Unmodified Input Variables

intvltype - label to the interval type.
bebit_0 - the 1st bebit.
bebit_1 - the 2nd bebit.
Nassocs - Number of assocications for this interval record type.
Nargs - Number of MPI call argument for this interval record type.

Modified Output Variables

returned value - integer return status.

Include file needed

slog_recdefs.h

Notes on SLOG return status code

There are 3 allowed SLOG returned status codes. They are SLOG_SUCCESS, SLOG_FAIL and SLOG_EOF. Their actual values are defined in slog.h

SLOG_SUCCESS is returned when no error is encountered.

SLOG_FAIL is returned when error is encounted.

SLOG_EOF is returned when End of file is encounted.

Location:../src/slog_recdefs.c