s/ldap_int_discard/ldap_pvt_discard/

This commit is contained in:
Pierangelo Masarati 2006-10-28 18:13:12 +00:00
parent 07abb0eb3a
commit 71bcd4a4b6
5 changed files with 11 additions and 11 deletions

View File

@ -224,14 +224,19 @@ LDAP_F (void) ldap_pvt_sasl_remove LDAP_P(( struct sockbuf * ));
struct ldap;
struct ldapmsg;
LDAP_F (int) ldap_open_internal_connection LDAP_P((
struct ldap **ldp, ber_socket_t *fdp ));
/* abandon */
LDAP_F ( int ) ldap_pvt_discard LDAP_P((
struct ldap *ld, ber_int_t msgid ));
/* messages.c */
LDAP_F( BerElement * )
ldap_get_message_ber LDAP_P((
struct ldapmsg * ));
/* open */
LDAP_F (int) ldap_open_internal_connection LDAP_P((
struct ldap **ldp, ber_socket_t *fdp ));
/* search.c */
LDAP_F( int ) ldap_pvt_put_filter LDAP_P((
BerElement *ber,

View File

@ -108,7 +108,7 @@ ldap_abandon( LDAP *ld, int msgid )
int
ldap_int_discard(
ldap_pvt_discard(
LDAP *ld,
ber_int_t msgid )
{
@ -141,7 +141,7 @@ do_abandon(
Sockbuf *sb;
LDAPRequest *lr;
Debug( LDAP_DEBUG_TRACE, "ldap_int_discard origid %d, msgid %d\n",
Debug( LDAP_DEBUG_TRACE, "ldap_pvt_discard origid %d, msgid %d\n",
origid, msgid, 0 );
/* find the request that we are abandoning */

View File

@ -397,11 +397,6 @@ LDAP_V( ldap_pvt_thread_mutex_t ) ldap_int_sasl_mutex;
#define LDAP_NEXT_MSGID(ld, id) id = ++(ld)->ld_msgid
#endif
LDAP_F ( int )
ldap_int_discard LDAP_P((
LDAP *ld,
ber_int_t msgid ));
/*
* in init.c
*/

View File

@ -1344,7 +1344,7 @@ ldap_back_cancel(
}
if ( LDAP_BACK_IGNORE( li ) ) {
return ldap_int_discard( lc->lc_ld, msgid );
return ldap_pvt_discard( lc->lc_ld, msgid );
}
if ( LDAP_BACK_CANCEL( li ) ) {

View File

@ -874,7 +874,7 @@ meta_back_cancel(
rc = ldap_abandon_ext( msc->msc_ld, msgid, NULL, NULL );
} else if ( META_BACK_TGT_IGNORE( mt ) ) {
rc = ldap_int_discard( msc->msc_ld, msgid );
rc = ldap_pvt_discard( msc->msc_ld, msgid );
} else if ( META_BACK_TGT_CANCEL( mt ) ) {
rc = ldap_cancel_s( msc->msc_ld, msgid, NULL, NULL );