[Home] [Back] [Up] [<<] [>>]

LoadSpec

Loads the spec from a file.

Syntax

int reportLoadSpec(const char *sFile, char *sError);

Syntax description

sFilea null-terminated string specifying the name of the spec file to read.
sErrorpointer to the buffer to receive an error description in the event of an error. This buffer needs to be at least MAX_STANREPORT_ERROR_STRING + 1 characters in length.
Return values

Returns zero on success, and an error number on error.

Remarks

If the spec has been saved to a file, then this function can be used to load the spec from this file.
The format of this file is beyond the scope of this documentation.