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 modedb
: The database in which to create the new rolename
: Name of the roleurl
: An optionalurl
to the role documentationrole
: [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:
- Collection Roles: Introduction for current chapter