SLOG_RDEF_Open

Creates the buffer like data structure, SLOG_recdefs_buf, needed to write the SLOG Record Definition table to the disk.

Synopsis


SLOG_recdefs_buf *SLOG_RDEF_Open( const char *recdefs_filename )

Unmodified Input Variables

recdefs_filename - constant char pointer to the filename of the output SLOG Record Definition table.

Modified Output Variables

returned value - pointer to newly allocated SLOG_recdefs_buf. It is NULL when the routine encounters error.

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