Lines Matching defs:bv
98 file_read( char *path, struct berval *bv )
115 bv->bv_len = ftell( fp );
117 if (( bv->bv_val = (char *)malloc( bv->bv_len )) == NULL ) {
129 rlen = fread( bv->bv_val, 1, bv->bv_len, fp );
133 if ( rlen != bv->bv_len ) {
135 free( bv->bv_val );
139 return( bv->bv_len );
275 struct berval bv, cred, *srvcrds = NULL;
535 bv.bv_val = value;
536 bv.bv_len = strlen(value);
537 if ((err = ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &id )) != LDAP_SUCCESS )
951 bv.bv_val = strdup(line);
952 bv.bv_len = strlen(line);
953 aCtrl.ldctl_value = &bv;