From 6cde4bdeb37c3616bbb56d6d5a3f74c0bf4480e5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 27 Aug 2004 18:53:44 +0000 Subject: [PATCH] Move LDAP_COMP_MATCH define from ldap.h to slap.h --- include/ldap.h | 5 ----- servers/slapd/slap.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5