From: Kurt Zeilenga Date: Fri, 27 Aug 2004 18:53:44 +0000 (+0000) Subject: Move LDAP_COMP_MATCH define from ldap.h to slap.h X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~622 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6cde4bdeb37c3616bbb56d6d5a3f74c0bf4480e5;p=openldap Move LDAP_COMP_MATCH define from ldap.h to slap.h --- diff --git a/include/ldap.h b/include/ldap.h index f3a0e51dfd..4949f54658 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -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 */ diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 85eac6ed91..1067960874 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -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