]> git.sur5r.net Git - openldap/commitdiff
Add no-op mru_schema_info()...
authorKurt Zeilenga <kurt@openldap.org>
Mon, 11 Mar 2002 03:06:34 +0000 (03:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 11 Mar 2002 03:06:34 +0000 (03:06 +0000)
Not sure how best to populate matchingRuleUses...

servers/slapd/mr.c
servers/slapd/proto-slap.h
servers/slapd/schema.c

index 316ff13641621edf58ff5d7b8038e12b28e8ecb7..e1af29d0c88fbee2205347a255571b63422f67a5 100644 (file)
@@ -303,4 +303,9 @@ int mr_schema_info( Entry *e )
        return 0;
 }
 
+int mru_schema_info( Entry *e )
+{
+       return 0;
+}
+
 #endif
index 4a846cfa41249854709157a8c972552793fd9bd5..89b2ad9bacdf56c3bd6114c7c52f26fafde76e3f 100644 (file)
@@ -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
index 469de9a2b44f2ae6967dad2c94339fd5d069ef1b..4be9256d060c095c762d678141cba82b4c777aef 100644 (file)
@@ -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 ) )
        {