Lines Matching full:rec
112 struct bt_sdp_record *rec; member
141 * @param rec Service record found.
147 typedef uint8_t (*bt_sdp_svc_func_t)(struct bt_sdp_record *rec,
426 struct bt_sdp_record *rec = db; in bt_sdp_foreach_svc() local
428 while (rec) { in bt_sdp_foreach_svc()
429 if (func(rec, user_data) == BT_SDP_ITER_STOP) { in bt_sdp_foreach_svc()
433 rec = rec->next; in bt_sdp_foreach_svc()
435 return rec; in bt_sdp_foreach_svc()
442 * @param rec The current service record.
447 static uint8_t insert_record(struct bt_sdp_record *rec, void *user_data) in insert_record() argument
451 rec_list[rec->index] = rec; in insert_record()
848 if ((sad->state->current_svc != sad->rec->index) && in select_attrs()
874 (sad->state->current_svc != sad->rec->index)) { in select_attrs()
891 sad->state->current_svc = sad->rec->index; in select_attrs()
954 sad.rec = record; in create_attr_list()
965 idx_att = bt_sdp_foreach_attr(sad.rec, next_att, select_attrs, &sad); in create_attr_list()
1046 * @param rec The current service record
1052 static uint8_t find_handle(struct bt_sdp_record *rec, void *user_data) in find_handle() argument
1056 if (rec->handle == *svc_rec_hdl) { in find_handle()