Find one object

saf_find_one_relrep is a function defined in relrep.c.

Synopsis:

SAF_RelRep * saf_find_one_relrep(SAF_Db *database, const char *name, SAF_RelRep *buf)

Formal Arguments:

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

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

Return Value: A handle to a matching object on success; negative on failure.

See Also: