From 09a007c031ec93c538d042e9cfa3b50250e6240b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Jun 1999 22:13:56 +0000 Subject: [PATCH] Fix up minor errors in prototypes to bring them in line with LDAP C API draft. --- include/ldap.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/include/ldap.h b/include/ldap.h index 7258b8112d..e35b7fb1e6 100644 --- a/include/ldap.h +++ b/include/ldap.h @@ -624,7 +624,7 @@ ldap_add_s LDAP_P(( /* - * in saslbind.c: + * in sasl.c: */ LDAP_F( int ) ldap_sasl_bind LDAP_P(( @@ -634,7 +634,7 @@ ldap_sasl_bind LDAP_P(( struct berval *cred, LDAPControl **serverctrls, LDAPControl **clientctrls, - int msgidp )); + int *msgidp )); LDAP_F( int ) ldap_sasl_bind_s LDAP_P(( @@ -823,15 +823,26 @@ ldap_delete_s LDAP_P(( * in error.c: */ LDAP_F( int ) -ldap_result2error LDAP_P(( /* deprecated */ - LDAP *ld, - LDAPMessage *r, - int freeit )); +ldap_parse_result LDAP_P(( + LDAP *ld, + LDAPMessage *res, + int *errcodep, + char **matcheddnp, + char **errmsgp, + char ***referralsp, + LDAPControl ***serverctrls, + int freeit )); LDAP_F( char *) ldap_err2string LDAP_P(( int err )); +LDAP_F( int ) +ldap_result2error LDAP_P(( /* deprecated */ + LDAP *ld, + LDAPMessage *r, + int freeit )); + LDAP_F( void ) ldap_perror LDAP_P(( /* deprecated */ LDAP *ld, @@ -1138,17 +1149,6 @@ ldap_result LDAP_P(( struct timeval *timeout, LDAPMessage **result )); -LDAP_F( int ) -ldap_parse_result LDAP_P(( - LDAP *ld, - LDAPMessage *res, - int *errcodep, - char **matcheddnp, - char **errmsgp, - char ***referralsp, - LDAPControl ***serverctrls, - int freeit )); - LDAP_F( int ) ldap_msgtype LDAP_P(( LDAPMessage *lm )); -- 2.39.5