LDAP_F (int) ldap_send_server_request( LDAP *ld, BerElement *ber, ber_int_t msgid, LDAPRequest *parentreq, LDAPURLDesc **srvlist, LDAPConn *lc, LDAPreqinfo *bind );
LDAP_F (LDAPConn *) ldap_new_connection( LDAP *ld, LDAPURLDesc **srvlist, int use_ldsb, int connect, LDAPreqinfo *bind );
LDAP_F (LDAPRequest *) ldap_find_request_by_msgid( LDAP *ld, ber_int_t msgid );
-LDAP_F (void) ldap_return_request_by_msgid( LDAP *ld, LDAPRequest *lr, int freeit );
+LDAP_F (void) ldap_return_request( LDAP *ld, LDAPRequest *lr, int freeit );
LDAP_F (void) ldap_free_request( LDAP *ld, LDAPRequest *lr );
LDAP_F (void) ldap_free_connection( LDAP *ld, LDAPConn *lc, int force, int unbind );
LDAP_F (void) ldap_dump_connection( LDAP *ld, LDAPConn *lconns, int all );
}
void
-ldap_return_request_by_msgid( LDAP *ld, LDAPRequest *lrx, int freeit )
+ldap_return_request( LDAP *ld, LDAPRequest *lrx, int freeit )
{
LDAPRequest *lr;
ber_free( ber, 1 );
ber = NULL;
if ( refer_cnt < 0 ) {
- ldap_return_request_by_msgid( ld, lr, 0 );
+ ldap_return_request( ld, lr, 0 );
return( -1 ); /* fatal error */
}
lr->lr_res_errno = LDAP_SUCCESS; /* sucessfully chased referral */
}
}
- ldap_return_request_by_msgid( ld, lr, 1 );
+ ldap_return_request( ld, lr, 1 );
lr = NULL;
}
}
if ( lr != NULL ) {
- ldap_return_request_by_msgid( ld, lr, 0 );
+ ldap_return_request( ld, lr, 0 );
lr = NULL;
}