]> git.sur5r.net Git - openldap/commitdiff
Move LDAP_COMP_MATCH define from ldap.h to slap.h
authorKurt Zeilenga <kurt@openldap.org>
Fri, 27 Aug 2004 18:53:44 +0000 (18:53 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 27 Aug 2004 18:53:44 +0000 (18:53 +0000)
include/ldap.h
servers/slapd/slap.h

index f3a0e51dfd2f56f398f70acf48f3a941093a8854..4949f5465854bb2f687e0e4696e7d054125e77de 100644 (file)
@@ -1989,12 +1989,7 @@ ldap_parse_passwordpolicy_control LDAP_P((
 
 LDAP_F( const char * )
 ldap_passwordpolicy_err2txt LDAP_P(( LDAPPasswordPolicyError ));
-
 #endif /* LDAP_CONTROL_PASSWORDPOLICYREQUEST */
 
-#ifdef LDAP_DEVEL
-#define LDAP_COMP_MATCH 1
-#endif
-
 LDAP_END_DECL
 #endif /* _LDAP_H */
index 85eac6ed91afd888b5bf44eee67b066ba0f155d3..10679608744130facec70148f8f3a0957000f6fd 100644 (file)
@@ -331,11 +331,16 @@ typedef int slap_syntax_transform_func LDAP_P((
        struct berval * out,
        void *memctx));
 
+#ifdef LDAP_DEVEL
+#define LDAP_COMP_MATCH
+#endif
+
 #ifdef LDAP_COMP_MATCH
 typedef void* slap_component_transform_func LDAP_P((
        struct berval * in ));
 struct ComponentDesc;
 #endif
+
 typedef struct slap_syntax {
        LDAPSyntax                      ssyn_syn;
 #define ssyn_oid               ssyn_syn.syn_oid