Lines Matching full:sdp_record
355 sdp_record_t *sdp_record)
420 if (sdp_set_access_protos(sdp_record, access_proto_list) < 0) {
443 static gboolean register_service_profiles(sdp_record_t *sdp_record)
457 if (sdp_set_profile_descs(sdp_record, profile_list) < 0)
469 sdp_record_t *sdp_record)
522 if (sdp_set_add_access_protos(sdp_record, access_proto_list) < 0)
632 sdp_record_t *sdp_record)
642 if (sdp_set_supp_feat(sdp_record, sup_features) < 0) {
668 static gboolean register_mcap_features(sdp_record_t *sdp_record)
677 if (sdp_attr_add(sdp_record, SDP_ATTR_MCAP_SUPPORTED_PROCEDURES,
688 sdp_record_t *sdp_record;
699 sdp_record = sdp_record_alloc();
700 if (!sdp_record)
704 sdp_record->handle = adapter->sdp_handler;
706 sdp_record->handle = 0xffffffff; /* Set automatically */
709 set_sdp_services_uuid(sdp_record, HDP_SINK);
711 set_sdp_services_uuid(sdp_record, HDP_SOURCE);
713 if (!register_service_protocols(adapter, sdp_record))
715 if (!register_service_profiles(sdp_record))
717 if (!register_service_additional_protocols(adapter, sdp_record))
720 sdp_set_info_attr(sdp_record, HDP_SERVICE_NAME, HDP_SERVICE_PROVIDER,
722 sdp_record))
724 if (!register_data_exchange_spec(sdp_record))
727 register_mcap_features(sdp_record);
729 if (sdp_set_record_state(sdp_record, adapter->record_state++))
734 if (add_record_to_server(&addr, sdp_record) < 0)
736 adapter->sdp_handler = sdp_record->handle;
740 if (sdp_record)
741 sdp_record_free(sdp_record);