]> git.sur5r.net Git - openldap/commitdiff
Fix up minor errors in prototypes to bring them in line with LDAP C API draft.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 28 Jun 1999 22:13:56 +0000 (22:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 28 Jun 1999 22:13:56 +0000 (22:13 +0000)
include/ldap.h

index 7258b8112d94f5f9c8d826e398037ad2015f33ce..e35b7fb1e6a65ff32d28ff7e530e25cd46316bb0 100644 (file)
@@ -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 ));