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,
int
-ldap_int_discard(
+ldap_pvt_discard(
LDAP *ld,
ber_int_t msgid )
{
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 */
#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
*/
}
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 ) ) {
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 );