]> git.sur5r.net Git - openldap/commitdiff
declare ldap_[parse_]passwd
authorPierangelo Masarati <ando@openldap.org>
Mon, 3 Mar 2003 21:31:00 +0000 (21:31 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 3 Mar 2003 21:31:00 +0000 (21:31 +0000)
include/ldap.h

index a6d6c1a1464b6dd5a4c3f4915b5921883757ee97..d06f43e85f79bc89a7b93ac6863ec84779f9a669 100644 (file)
@@ -1707,5 +1707,34 @@ ldap_whoami_s LDAP_P((
        LDAPControl **sctrls,
        LDAPControl **cctrls ));
 
+/*
+ * in passwd.c
+ */
+
+LDAP_F( int )
+ldap_parse_passwd LDAP_P((
+       LDAP *ld,
+       LDAPMessage *res,
+       struct berval *newpasswd ));
+
+LDAP_F( int )
+ldap_passwd LDAP_P(( LDAP *ld,
+       struct berval   *user,
+       struct berval   *oldpw,
+       struct berval   *newpw,
+       LDAPControl             **sctrls,
+       LDAPControl             **cctrls,
+       int                             *msgidp ));
+
+LDAP_F( int )
+ldap_passwd_s LDAP_P((
+       LDAP *ld,
+       struct berval   *user,
+       struct berval   *oldpw,
+       struct berval   *newpw,
+       struct berval *newpasswd,
+       LDAPControl **sctrls,
+       LDAPControl **cctrls ));
+
 LDAP_END_DECL
 #endif /* _LDAP_H */