Lines Matching refs:sdp_handle
143 UINT32 sdp_handle = 0;
148 if ((sdp_handle = SDP_CreateRecord()) == 0)
151 return sdp_handle;
155 if (SDP_AddServiceClassIdList(sdp_handle, 1, &pbs_service))
167 if (SDP_AddProtocolList(sdp_handle, 3, protoList))
173 SDP_AddAttribute(sdp_handle,
180 SDP_AddProfileDescriptorList(sdp_handle,
190 SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE,
192 SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_REPOSITORIES, UINT_DESC_TYPE,
196 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse);
201 SDP_DeleteRecord(sdp_handle);
202 sdp_handle = 0;
208 APPL_TRACE_DEBUG1("PBS: SDP Registered (handle 0x%08x)", sdp_handle);
211 return sdp_handle;
249 UINT32 sdp_handle;
254 sdp_handle = SDP_CreateRecord();
257 if (SDP_AddServiceClassIdList(sdp_handle, 1, &servclass))
268 if (SDP_AddProtocolList(sdp_handle, BTA_OPS_PROTOCOL_COUNT, protoList))
270 SDP_AddAttribute(sdp_handle,
276 SDP_AddProfileDescriptorList(sdp_handle,
284 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse);
297 SDP_AddSequence(sdp_handle, (UINT16) ATTR_ID_SUPPORTED_FORMATS_LIST,
306 return sdp_handle;
313 int sdp_handle;
318 if ((sdp_handle = SDP_CreateRecord()) != FALSE)
328 if (SDP_AddProtocolList(sdp_handle, SPP_NUM_PROTO_ELEMS, proto_elem_list))
330 if (SDP_AddServiceClassIdList(sdp_handle, 1, &serviceclassid))
332 if ((SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME,
339 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST,
345 return sdp_handle;
419 int sdp_handle = 0;
435 sdp_handle = add_rfc_sdp_by_uuid(name, uuid, scn);
436 return sdp_handle;