Move LDAP_COMP_MATCH define from ldap.h to slap.h

This commit is contained in:
Kurt Zeilenga 2004-08-27 18:53:44 +00:00
parent 6780800386
commit 6cde4bdeb3
2 changed files with 5 additions and 5 deletions

View 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 */

View 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