]> git.sur5r.net Git - openldap/commitdiff
Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
authorHoward Chu <hyc@openldap.org>
Tue, 16 Mar 2004 01:50:10 +0000 (01:50 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 16 Mar 2004 01:50:10 +0000 (01:50 +0000)
include/ldap.h

index ed23734670f86509466a852dc2b2735ee7e680d0..f5f2a334e6371b14f490956567cbf320d4258749 100644 (file)
@@ -1937,9 +1937,10 @@ ldap_passwd_s LDAP_P((
        LDAPControl **sctrls,
        LDAPControl **cctrls ));
 
+#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
 /*
  * LDAP Password Policy controls
- *     in ppcontrol.c
+ *     in ppolicy.c
  */
 #define LDAP_API_FEATURE_PASSWORD_POLICY 1000
 
@@ -1972,5 +1973,7 @@ ldap_parse_passwordpolicy_control LDAP_P((
 LDAP_F( const char * )
 ldap_passwordpolicy_err2txt LDAP_P(( LDAPPasswordPolicyError ));
 
+#endif /* LDAP_CONTROL_PASSWORDPOLICYREQUEST */
+
 LDAP_END_DECL
 #endif /* _LDAP_H */