Lines Matching refs:lc
50 static int read1msg( LDAP *ld, int msgid, int all, Sockbuf *sb, LDAPConn *lc,
279 LDAPConn *lc, *nextlc; local
356 for ( lc = ld->ld_conns; lc != NULL; lc = lc->lconn_next ) {
357 if ( lc->lconn_sb->sb_ber.ber_ptr <
358 lc->lconn_sb->sb_ber.ber_end ) {
359 rc = read1msg( ld, msgid, all, lc->lconn_sb,
360 lc, result );
367 if ( lc == NULL ) {
403 for ( lc = ld->ld_conns; rc == -2 && lc != NULL;
404 lc = nextlc ) {
405 nextlc = lc->lconn_next;
406 if ( lc->lconn_status ==
409 lc->lconn_sb )) {
411 lc->lconn_sb, lc, result );
415 && lc->lconn_status == LDAP_CONNST_CONNECTING
417 lc->lconn_sb ) ) {
418 rc = nsldapi_ber_flush( ld, lc->lconn_sb, lr->lr_ber, 0, 1 );
421 lc->lconn_status = LDAP_CONNST_CONNECTED;
425 nsldapi_iostatus_interest_read( ld, lc->lconn_sb );
430 nsldapi_free_connection( ld, lc, NULL, NULL,
491 read1msg( LDAP *ld, int msgid, int all, Sockbuf *sb, LDAPConn *lc,
512 if ( lc->lconn_ber == NULLBER && nsldapi_alloc_ber_with_options( ld,
513 &lc->lconn_ber ) != LDAP_SUCCESS ) {
524 if ( (tag = ber_get_next( sb, &len, lc->lconn_ber ))
542 ber = lc->lconn_ber;
543 lc->lconn_ber = NULLBER;
587 check_for_refs( ld, lr, ber, lc->lconn_version, &reftotal,