]> git.sur5r.net Git - openldap/commitdiff
New error code, fixed definition of smr_syntax.
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 15 Jun 1999 12:30:51 +0000 (12:30 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Tue, 15 Jun 1999 12:30:51 +0000 (12:30 +0000)
servers/slapd/slap.h

index c162d76c4ef96659ba61029ce57dd48ffe17d991..e2e4c703f8aa968d0e11f0d48c4d1e7b0be38d0a 100644 (file)
@@ -63,6 +63,7 @@
 #define SLAP_SCHERR_ATTR_INCOMPLETE    9
 #define SLAP_SCHERR_MR_NOT_FOUND       10
 #define SLAP_SCHERR_SYN_NOT_FOUND      11
+#define SLAP_SCHERR_MR_INCOMPLETE      12
 
 LDAP_BEGIN_DECL
 
@@ -238,7 +239,7 @@ typedef struct slap_matching_rule {
        LDAP_MATCHING_RULE              smr_mrule;
        slap_mr_normalize_func          *smr_normalize;
        slap_mr_compare_func            *smr_compare;
-       Syntax                          smr_syntax;
+       Syntax                          *smr_syntax;
        struct slap_matching_rule       *smr_next;
 } MatchingRule;
 #define smr_oid                                smr_mrule.mr_oid