Lines Matching defs:handle
133 srv->handle = 0x00010000; /* values 0x00000001->0x0000FFFF are reserved */
142 if (!db_create(srv, -1, BDADDR_ANY, srv->handle++, &d))
314 db_select_handle(server_t *srv, int fd, uint32_t handle)
327 if (handle == r->handle) {
336 * Create a record and insert in server record list in ascending handle
337 * order. Where a selectable record exists with the same handle number,
341 db_create(server_t *srv, int fd, const bdaddr_t *bdaddr, uint32_t handle, sdp_data_t *data)
354 sdp_set_uint(&v, handle);
363 rec->handle = handle;
372 * Note, this does not handle the case where we expire
380 } while (n != NULL && n->handle < handle);
382 if (n != NULL && n->valid && n->handle == handle) {