mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Clean up last patch
This commit is contained in:
parent
64619bed94
commit
ff23cd0f7f
@ -183,7 +183,7 @@ static struct slap_schema_oc_map {
|
||||
"SUP top AUXILIARY )",
|
||||
dynamicObjectClass, 0,
|
||||
offsetof(struct slap_internal_schema, si_oc_dynamicObject) },
|
||||
{ NULL, 0 }
|
||||
{ NULL, NULL, NULL, 0, 0 }
|
||||
};
|
||||
|
||||
static AttributeTypeSchemaCheckFN rootDseAttribute;
|
||||
@ -536,10 +536,9 @@ static AttributeType slap_at_undefined = {
|
||||
NULL, /* subtypes */
|
||||
NULL, NULL, NULL, NULL, /* matching rules */
|
||||
NULL, /* syntax (this may need to be defined) */
|
||||
(AttributeTypeSchemaCheckFN *) 0, /* schema check function */
|
||||
0, /* schema check flags */
|
||||
NULL, /* attribute description */
|
||||
(AttributeTypeSchemaCheckFN *) 0, 0, /* schema check function/mask */
|
||||
NULL /* next */
|
||||
NULL, /* attribute description */
|
||||
/* mutex (don't know how to initialize it :) */
|
||||
};
|
||||
|
||||
|
@ -432,8 +432,8 @@ typedef struct slap_attribute_type {
|
||||
AttributeTypeSchemaCheckFN *sat_check;
|
||||
slap_mask_t sat_flags;
|
||||
|
||||
struct slap_attr_desc *sat_ad;
|
||||
ldap_pvt_thread_mutex_t sat_ad_mutex;
|
||||
struct slap_attribute_type *sat_next;
|
||||
|
||||
#define sat_oid sat_atype.at_oid
|
||||
#define sat_names sat_atype.at_names
|
||||
#define sat_desc sat_atype.at_desc
|
||||
@ -449,7 +449,8 @@ typedef struct slap_attribute_type {
|
||||
#define sat_usage sat_atype.at_usage
|
||||
#define sat_extensions sat_atype.at_extensions
|
||||
|
||||
struct slap_attribute_type *sat_next;
|
||||
struct slap_attr_desc *sat_ad;
|
||||
ldap_pvt_thread_mutex_t sat_ad_mutex;
|
||||
} AttributeType;
|
||||
|
||||
#define is_at_operational(at) ((at)->sat_usage)
|
||||
@ -487,7 +488,7 @@ typedef struct slap_object_class {
|
||||
struct slap_object_class *soc_next;
|
||||
} ObjectClass;
|
||||
|
||||
#ifdef LDAP_DIT_CONTENT_RULES
|
||||
#ifdef LDAP_EXTENDED_SCHEMA
|
||||
/*
|
||||
* DIT content rule
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user