OSF DCE Application Development Guide--Core Components

OSF DCE Application Development Guide—Core Components
28.7.2 Macros to Access Schema Entry Fields
In the following macro definitions, S is a pointer to sec_attr_schema_entry_t (and its
equivalent dce_attr_sch data type) and I and J are nonnegative integers for array
element selection.
#define SA_ACL_MGR_SET_P(S) (S)->acl_mgr_set
#define SA_ACL_MGR_NUM(S) (SA_ACL_MGR_SET_P(S))->num_acl_mgrs
#define SA_ACL_MGR_INFO_P(S,I) (SA_ACL_MGR_SET_P(S))->mgr_info[I]
#define SA_ACL_MGR_TYPE(S,I) (SA_ACL_MGR_INFO_P(S,I))->acl_mgr_type
#define SA_ACL_MGR_PERMS_QUERY(S,I) (SA_ACL_MGR_INFO_P(S,I))->query_permset
#define SA_ACL_MGR_PERMS_UPDATE(S,I) (SA_ACL_MGR_INFO_P(S,I))->update_permset
#define SA_ACL_MGR_PERMS_TEST(S,I) (SA_ACL_MGR_INFO_P(S,I))->test_permset
#define SA_ACL_MGR_PERMS_DELETE(S,I) (SA_ACL_MGR_INFO_P(S,I))->delete_permset
#define SA_TRG_BND_INFO_P(S) (S)->trig_binding
#define SA_TRG_BND_AUTH_INFO(S) \
(SA_BND_AUTH_INFO(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_INFO_TYPE(S) \
(SA_BND_AUTH_INFO_TYPE(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_DCE_INFO(S) \
(SA_BND_AUTH_DCE_INFO(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_SVR_PNAME_P(S) \
(SA_BND_AUTH_SVR_PNAME_P(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_PROT_LEVEL(S) \
(SA_BND_AUTH_PROT_LEVEL(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_AUTHN_SVC(S) \
(SA_BND_AUTH_AUTHN_SVC(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_AUTHZ_SVC(S) \
(SA_BND_AUTH_AUTHZ_SVC(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_NUM(S) \
(SA_BND_NUM(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_ARRAY(S,I) \
(SA_BND_ARRAY((SA_TRG_BND_INFO_P(S)),I))
#define SA_TRG_BND_TYPE(S,I) \
2828 Tandem Computers Incorporated 124245