Declare a new collection role

saf_declare_role is a function defined in role.c.

Synopsis:

SAF_Role * saf_declare_role(SAF_ParMode pmode, SAF_Db *db, const char *name, const char *url, SAF_Role *role)

Formal Arguments:

  • pmode: The parallel mode
  • db: The database in which to create the new role
  • name: Name of the role
  • url: An optional url to the role documentation
  • role: [OUT] Optional role handle to initialize (and return)

Description: This function declares a new collection role with a unique identification number.

Return Value: A handle to the new role.

See Also: