OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
#define SA_SCH_TRIG_FLAG_IS_SET(S,F) \
(((S)->trig_types & (F)) == (F))
#define SA_SCH_TRIG_FLAG_IS_NONE(S) \
(SA_SCH_TRIG_FLAG_IS_SET((S),sec_attr_trig_type_none))
#define SA_SCH_TRIG_FLAG_IS_QUERY(S) \
(SA_SCH_TRIG_FLAG_IS_SET((S),sec_attr_trig_type_query))
#define SA_SCH_TRIG_FLAG_IS_UPDATE(S) \
(SA_SCH_FLAG_IS_SET((S),sec_attr_trig_type_update))
28.8 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.
28−38 Tandem Computers Incorporated 124245