1 /* ava.c - routines for dealing with attribute value assertions */
8 #include <sys/socket.h>
17 if ( ber_scanf( ber, "{ao}", &ava->ava_type, &ava->ava_value )
19 Debug( LDAP_DEBUG_ANY, " get_ava ber_scanf\n", 0, 0, 0 );
20 return( LDAP_PROTOCOL_ERROR );
22 attr_normalize( ava->ava_type );
23 value_normalize( ava->ava_value.bv_val, attr_syntax( ava->ava_type ) );
34 free( (char *) ava->ava_type );
35 free( (char *) ava->ava_value.bv_val );