SLOG_RDEF_Open3
Creates the slog record definition table, slog_recdefs_table_t, needed to write the to the disk.
Usage
int SLOG_RDEF_Open( SLOG_STREAM *slog )
Modified input variables
slog-
- pointer to the SLOG_STREAM where SLOG Record Definition Table is located.
Modified output variables
- returned value
-
- integer return status.
Include file needed
slog_recdefs.h
Notes on slog return status code
There are 5 allowed SLOG returned status codes. They include 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.
There are also SLOG_TRUE and SLOG_FALSE which are sued as boolean values, in particular they are used in boolean functions which are usually named as IsXXXXX(), AreXXXXX() and HasXXXXX().