OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
• dce_attr_sch_lookup_by_id( )
Reads a schema entry identified by UUID. This call is based on
sec_rgy_attr_lookup_by_id( ) and is used in the same way.
• dce_attr_sch_lookup_by_name( )
Reads a schema entry identified by name. This call is based on
sec_rgy_attr_sch_lookup_by_name( ) and is used in the same way.
• dce_attr_sch_get_acl_mgrs()
Retrieves the UUIDs of ACL manager types protecting objects dominated by a
named schema. This call is based on sec_rgy_attr_sch_get_acl_mgrs( ) and is
used in the same way.
• dce_attr_sch_aclmgr_strings()
Retrieves the print strings containing information about ACL manager types
protecting objects dominated by a named schema. The print strings contain the
manager’s name, help information, and supported permission bits. This call is based
on sec_rgy_attr_sch_aclmgr_strings( ) and is used in the same way.
28.7 Macros to Aid Extended Attribute Programming
The extended attribute APIs includes macros to help programmers using the extended
attribute interfaces. The macros perform a variety of function including
• Accessing fields in data structures
• Calculating the size of data structures
• Performing semantic and flag checks
• Setting flags
The macros are in dce/rpcbase.h, which is derived from dce/rpcbase.idl.
The following subsections list the definitions of each macro.
28.7.1 Macros to Access Binding Fields
In the following macro definitions, which are used by a sec_attr_schema_entry_t and
its equivalent dce_attr_sch data type, B is a pointer to sec_attr_bind_info_t.
28−26 Tandem Computers Incorporated 124245