From: Pierangelo Masarati Date: Mon, 3 Mar 2003 21:31:00 +0000 (+0000) Subject: declare ldap_[parse_]passwd X-Git-Tag: NO_SLAP_OP_BLOCKS~200 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb3ca13aefe9314ef3cbd6719d5b76f3fca0f8de;p=openldap declare ldap_[parse_]passwd --- diff --git a/include/ldap.h b/include/ldap.h index a6d6c1a146..d06f43e85f 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -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 */