Declare a new evaluation type¶
saf_declare_evaluation is a function defined in evaluation.c.
Synopsis:
-
SAF_Eval *
saf_declare_evaluation(SAF_ParMode pmode, SAF_Db *db, const char *name, const char *url, SAF_Eval *buf)¶
Formal Arguments:
name: Name of the evaluation typeurl: An optionalurlto the evaluation documentationbuf: [OUT] Optional buffer to fill in and return
Description: This function declares a new evaluation type with a unique identification number.
Preconditions:
pmodemust be valid. (low-cost)
Return Value: A handle to the new evaluation type.
See Also:
- Evaluation Types: Introduction for current chapter