Fix previous commit

This commit is contained in:
Howard Chu 2002-01-19 04:32:43 +00:00
parent d9a9899937
commit e040c2dee0

View File

@ -624,20 +624,20 @@ LDAP_SLAPD_F (int) is_object_subclass LDAP_P((
LDAP_SLAPD_F (int) is_entry_objectclass LDAP_P(( LDAP_SLAPD_F (int) is_entry_objectclass LDAP_P((
Entry *, ObjectClass *oc, int set_flags )); Entry *, ObjectClass *oc, int set_flags ));
#define is_entry_alias(e) \ #define is_entry_alias(e) \
((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_ALIAS) : \ (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_ALIAS) : \
is_entry_objectclass((e), slap_schema.si_oc_alias, 1) is_entry_objectclass((e), slap_schema.si_oc_alias, 1))
#define is_entry_referral(e) \ #define is_entry_referral(e) \
((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_REFERRAL) : \ (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_REFERRAL) : \
is_entry_objectclass((e), slap_schema.si_oc_referral, 1) is_entry_objectclass((e), slap_schema.si_oc_referral, 1))
#define is_entry_subentry(e) \ #define is_entry_subentry(e) \
((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_SUBENTRY) : \ (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_SUBENTRY) : \
is_entry_objectclass((e), slap_schema.si_oc_subentry, 1) is_entry_objectclass((e), slap_schema.si_oc_subentry, 1))
#define is_entry_collectiveAttributes(e) \ #define is_entry_collectiveAttributes(e) \
((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_COLLECTIVEATTRIBUTES) : \ (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_COLLECTIVEATTRIBUTES) : \
is_entry_objectclass((e), slap_schema.si_oc_collectiveAttributes, 1) is_entry_objectclass((e), slap_schema.si_oc_collectiveAttributes, 1))
#define is_entry_dynamicObject(e) \ #define is_entry_dynamicObject(e) \
((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_DYNAMICOBJECT) : \ (((e)->e_ocflags & SLAP_OC__END) ? ((e)->e_ocflags & SLAP_OC_DYNAMICOBJECT) : \
is_entry_objectclass((e), slap_schema.si_oc_dynamicObject, 1) is_entry_objectclass((e), slap_schema.si_oc_dynamicObject, 1))
LDAP_SLAPD_F (int) oc_schema_info( Entry *e ); LDAP_SLAPD_F (int) oc_schema_info( Entry *e );