SLOG_RDEF_AddRecDef
Add one entry to the SLOG Record Definition table.
Synopsis
int SLOG_RDEF_AddRecDef( SLOG_recdefs_buf *slog_recdefs,
const SLOG_uint32 rectype,
const SLOG_uint32 Nassoc,
const SLOG_uint32 Nargs )
Modified Input Variables
- slog_recdefs - pointer to the SLOG_recdefs_buf where the entry are stored.
Unmodified Input Variables
- rectype - label to the interval record type.
- Nassoc - 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