Home
last modified time | relevance | path

Searched refs:sdp_cont_state_t (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/bluez/src/
Dsdpd-request.c61 sdp_buf_t *sdp_get_cached_rsp(sdp_cont_state_t *cstate) in sdp_get_cached_rsp()
242 static int sdp_set_cstate_pdu(sdp_buf_t *buf, sdp_cont_state_t *cstate) in sdp_set_cstate_pdu()
249 *(uint8_t *)pdata = sizeof(sdp_cont_state_t); in sdp_set_cstate_pdu()
252 memcpy(pdata, cstate, sizeof(sdp_cont_state_t)); in sdp_set_cstate_pdu()
253 length += sizeof(sdp_cont_state_t); in sdp_set_cstate_pdu()
265 sdp_cont_state_t **cstate) in sdp_cstate_get()
279 if (len < sizeof(sdp_cont_state_t)) in sdp_cstate_get()
287 *cstate = malloc(sizeof(sdp_cont_state_t)); in sdp_cstate_get()
291 memcpy(*cstate, buffer, sizeof(sdp_cont_state_t)); in sdp_cstate_get()
349 sdp_cont_state_t *cstate = NULL; in service_search_req()
[all …]
Dsdpd.h65 } sdp_cont_state_t; typedef
67 #define SDP_CONT_STATE_SIZE (sizeof(uint8_t) + sizeof(sdp_cont_state_t))
69 sdp_buf_t *sdp_get_cached_rsp(sdp_cont_state_t *cstate);