Lines Matching defs:ber
54 static void check_for_refs( LDAP *ld, LDAPRequest *lr, BerElement *ber,
496 BerElement *ber;
512 * a ber that is associated with this connection
541 * Since we have received a complete message now, we pull this ber
544 ber = lc->lconn_ber;
548 if ( ber_get_int( ber, &id ) == LBER_ERROR ) {
555 ber_free( ber, 1 );
565 ber_free( ber, 1 );
570 if ( (tag = ber_peek_tag( ber, &len )) == LBER_ERROR ) {
589 check_for_refs( ld, lr, ber, lc->lconn_version, &reftotal,
596 ber_free( ber, 1 );
597 ber = NULLBER;
625 lr->lr_res_msgtype, ber, &lderr, NULL,
644 ber_free( ber, 1 );
645 ber = NULLBER;
675 if ( ber != NULLBER ) {
676 ber_free( ber, 1 );
677 ber = NULLBER;
679 if ( build_result_ber( ld, &ber, lr )
694 if ( ber == NULLBER ) {
706 new->lm_ber = ber;
897 check_for_refs( LDAP *ld, LDAPRequest *lr, BerElement *ber,
914 err = nsldapi_parse_reference( ld, ber, &v3refs, NULL );
918 err = nsldapi_parse_result( ld, lr->lr_res_msgtype, ber,
988 BerElement *ber;
991 if (( err = nsldapi_alloc_ber_with_options( ld, &ber ))
995 *berp = ber;
996 if ( ber_printf( ber, "{it{ess}}", lr->lr_msgid,
1003 ber_reset( ber, 1 );
1004 if ( ber_skip_tag( ber, &len ) == LBER_ERROR ||
1005 ber_get_int( ber, &along ) == LBER_ERROR ||
1006 ber_peek_tag( ber, &len ) == LBER_ERROR ) {
1269 cldap_getmsg( LDAP *ld, struct timeval *timeout, BerElement **ber )
1285 if ( (tag = ber_get_next( ld->ld_sbp, &len, ber ))