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 type
  • url: An optional url to the evaluation documentation
  • buf: [OUT] Optional buffer to fill in and return

Description: This function declares a new evaluation type with a unique identification number.

Preconditions:

  • pmode must be valid. (low-cost)

Return Value: A handle to the new evaluation type.

See Also: