From: Kurt Zeilenga Date: Mon, 28 Jun 1999 22:13:56 +0000 (+0000) Subject: Fix up minor errors in prototypes to bring them in line with LDAP C API draft. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~234 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=09a007c031ec93c538d042e9cfa3b50250e6240b;p=openldap Fix up minor errors in prototypes to bring them in line with LDAP C API draft. --- 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 ));