1 /* ava.c - routines for dealing with attribute value assertions */
18 if ( ber_scanf( ber, "{ao}", &ava->ava_type, &ava->ava_value )
20 Debug( LDAP_DEBUG_ANY, " get_ava ber_scanf\n", 0, 0, 0 );
21 return( LDAP_PROTOCOL_ERROR );
23 attr_normalize( ava->ava_type );
24 value_normalize( ava->ava_value.bv_val, attr_syntax( ava->ava_type ) );
35 free( (char *) ava->ava_type );
36 free( (char *) ava->ava_value.bv_val );