PreviousNext

Utilities to Use with Extended Attribute Calls

The extended attribute APIs includes utilities to help programmers using the extended attribute interfaces. These utilities are

· sec_attr_util_alloc_copy - Copies data from one sec_attr_t data type to another.

· sec_attr_util_free - Frees memory allocated to sec_attr_t by the sec_attr_util_alloc_copy( ) function.

· sec_attr_util_inst_free_ptrs - Frees nonnull pointers in a sec_attr_t type.

· sec_attr_util_inst_free - Frees nonnull pointers in a sec_attr_t type and the pointer to the sec_attr_t itself.

· sec_attr_util_sch_ent_free_ptrs - Frees nonnull pointers in a sec_attr_schema_entry_t type.

· sec_attr_util_sch_ent_free - Frees nonnull pointers in a sec_attr_schema_entry_t type and the pointer to the sec_attr_schema_entry_t itself. The utility also works with the equivalent dce_attr_sch data type.