-int
-get_ava(
- BerElement *ber,
- Ava *ava,
- char **text
-)
-{
- if ( ber_scanf( ber, "{ao}", &ava->ava_type, &ava->ava_value )
- == LBER_ERROR ) {
- Debug( LDAP_DEBUG_ANY, " get_ava ber_scanf\n", 0, 0, 0 );
- *text = "Error decoding attribute value assertion";
- return SLAPD_DISCONNECT;