Lines Matching defs:values
63 static sdp_attr_t values[NRECS * attrs_len];
64 #define values_len nitems(values)
626 /* Initialize attribute values array */
628 values[n].flags = SDP_ATTR_INVALID;
629 values[n].attr = 0;
630 values[n].vlen = BSIZE;
631 values[n].value = buffer[n];
635 n = sdp_search(xs, 1, &service, attrs_len, attrs, values_len, values);
639 /* Print attributes values */
641 if (values[n].flags != SDP_ATTR_OK)
644 switch (values[n].attr) {
647 if (values[n].vlen == 5) {
648 SDP_GET8(type, values[n].value);
650 SDP_GET32(value, values[n].value);
660 values[n].vlen);
665 print_service_class_id_list(values[n].value,
666 values[n].value + values[n].vlen);
671 print_protocol_descriptor_list(values[n].value,
672 values[n].value + values[n].vlen);
677 print_bluetooth_profile_descriptor_list(values[n].value,
678 values[n].value + values[n].vlen);
683 values[n].attr);