Obtain scope for an object

ss_pers_scope is a function defined in sspers.c.

Synopsis:

ss_scope_t * ss_pers_scope(ss_pers_t *pers, ss_scope_t *buf)

Formal Arguments:

  • pers: Persistent object link to query
  • buf [OUT]: Optional buffer for the result scope link

Description: Every persistent object belongs to a scope and this function returns a link to that scope.

Return Value: On success, returns a link to the scope containing pers. If the caller supplied a buffer for the result in the buf argument then that’s the success pointer returned. Returns the null pointer on failure.

Parallel Notes: Independent

See Also: