From: Kurt Zeilenga Date: Mon, 11 Mar 2002 03:06:34 +0000 (+0000) Subject: Add no-op mru_schema_info()... X-Git-Tag: OPENLDAP_REL_ENG_2_MP~356 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b56f7c72223f2dae95946e6b4bbcb2daa6396efb;p=openldap Add no-op mru_schema_info()... Not sure how best to populate matchingRuleUses... --- diff --git a/servers/slapd/mr.c b/servers/slapd/mr.c index 316ff13641..e1af29d0c8 100644 --- a/servers/slapd/mr.c +++ b/servers/slapd/mr.c @@ -303,4 +303,9 @@ int mr_schema_info( Entry *e ) return 0; } +int mru_schema_info( Entry *e ) +{ + return 0; +} + #endif diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 4a846cfa41..89b2ad9bac 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -591,6 +591,7 @@ LDAP_SLAPD_F (int) register_matching_rule LDAP_P(( const char *associated )); LDAP_SLAPD_F (int) mr_schema_info( Entry *e ); +LDAP_SLAPD_F (int) mru_schema_info( Entry *e ); /* * mra.c diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index 469de9a2b4..4be9256d06 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -88,6 +88,7 @@ schema_info( Entry **entry, const char **text ) if ( syn_schema_info( e ) || mr_schema_info( e ) + || mru_schema_info( e ) || at_schema_info( e ) || oc_schema_info( e ) ) {