From fb3ca13aefe9314ef3cbd6719d5b76f3fca0f8de Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 3 Mar 2003 21:31:00 +0000 Subject: [PATCH] declare ldap_[parse_]passwd --- include/ldap.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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 */ -- 2.39.5