Find one algebraic type

saf_find_one_algebraic is a function defined in algebraic.c.

Synopsis:

SAF_Algebraic * saf_find_one_algebraic(SAF_Db *database, const char *name, SAF_Algebraic *buf)

Formal Arguments:

  • database: The database in which to search
  • name: The name for which to search
  • buf: [OUT] Optional algebraic handle to initialize and return

Description: This is a convenience version of saf_find_algebraic that returns the first algebraic type it finds whose name matches that which is specified.

Return Value: A handle to a matching algebraic type on success; SAF__ERROR_HANDLE on failure.

See Also: