OSF DCE Application Development Guide--Core Components
The Extended Attribute API
*/
#define SA_BND_AUTH_AUTHZ_SVC_VALID(B) ( \
(SA_BND_AUTH_AUTHZ_SVC(B)) == rpc_c_authz_none || \
(SA_BND_AUTH_AUTHZ_SVC(B)) == rpc_c_authz_name || \
(SA_BND_AUTH_AUTHZ_SVC(B)) == rpc_c_authz_dce ? \
true : false )
28.7.8 Schema Entry Semantic Check Macros
The following macros are supplied to check the semantics of schema entry fields. In the
macros, S is a pointer to sec_attr_schema_entry_t and its equivalent dce_attr_sch
data type.
#define SA_TRG_BND_AUTH_INFO_TYPE_VALID(S) \
(SA_BND_AUTH_INFO_TYPE_VALID(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_PROT_LEV_VALID(S) \
(SA_BND_AUTH_PROT_LEV_VALID(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_AUTHN_SVC_VALID(S) \
(SA_BND_AUTH_AUTHN_SVC_VALID(SA_TRG_BND_INFO_P(S)))
#define SA_TRG_BND_AUTH_AUTHZ_SVC_VALID(S) \
(SA_BND_AUTH_AUTHZ_SVC_VALID(SA_TRG_BND_INFO_P(S))
28.7.9 Attribute Instance Semantic Check Macros
The following macros are supplied to check the semantics of entries in the attribute
instance fields. In the following macros, S is a pointer to sec_attr_t. F is a
sec_attr_trigs_types_flags_t.
124245 Tandem Computers Incorporated 28− 35