Lines Matching refs:ber

34     BerElement *ber )  in nsldapi_put_controls()  argument
70 if ( ber_printf( ber, "t{", LDAP_TAG_CONTROLS ) == -1 ) { in nsldapi_put_controls()
77 if ( ber_printf( ber, "{s", c->ldctl_oid ) == -1 ) { in nsldapi_put_controls()
84 if ( ber_printf( ber, "b", (int)c->ldctl_iscritical ) in nsldapi_put_controls()
91 if ( ber_printf( ber, "o", c->ldctl_value.bv_val, in nsldapi_put_controls()
98 if ( ber_put_seq( ber ) == -1 ) { in nsldapi_put_controls()
103 if ( ber_put_seq( ber ) == -1 ) { in nsldapi_put_controls()
109 if ( closeseq && ber_put_seq( ber ) == -1 ) { in nsldapi_put_controls()
126 nsldapi_get_controls( BerElement *ber, LDAPControl ***controlsp ) in nsldapi_get_controls() argument
155 if ( ber_get_option( ber, LBER_OPT_REMAINING_BYTES, &len ) != 0 ) { in nsldapi_get_controls()
163 if (( tag = ber_peek_tag( ber, &len )) != LDAP_TAG_CONTROLS ) { in nsldapi_get_controls()
182 for ( tag = ber_first_element( ber, &len, &last ); in nsldapi_get_controls()
184 tag = ber_next_element( ber, &len, last ) ) { in nsldapi_get_controls()
205 if ( ber_scanf( ber, "{a", &newctrl->ldctl_oid ) in nsldapi_get_controls()
212 if ( ber_peek_tag( ber, &len ) == LBER_BOOLEAN ) { in nsldapi_get_controls()
215 if ( ber_scanf( ber, "b", &aint ) == LBER_ERROR ) { in nsldapi_get_controls()
226 if ( ber_peek_tag( ber, &len ) == LBER_OCTETSTRING ) { in nsldapi_get_controls()
227 if ( ber_scanf( ber, "o", &newctrl->ldctl_value ) in nsldapi_get_controls()
443 nsldapi_build_control( char *oid, BerElement *ber, int freeber, char iscritical, in nsldapi_build_control() argument
449 if ( ber == NULL ) { in nsldapi_build_control()
453 rc = ber_flatten( ber, &bvp ); in nsldapi_build_control()
455 ber_free( ber, 1 ); in nsldapi_build_control()