Lines Matching refs:server_db
63 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_service_search()
67 p_rec = &sdp_cb.server_db.record[0]; in sdp_db_service_search()
164 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; in sdp_db_find_record()
167 for (p_rec = &sdp_cb.server_db.record[0]; p_rec < p_end; p_rec++) in sdp_db_find_record()
284 tSDP_DB *p_db = &sdp_cb.server_db; in SDP_CreateRecord()
333 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; in SDP_DeleteRecord()
335 if (handle == 0 || sdp_cb.server_db.num_records == 0) in SDP_DeleteRecord()
338 sdp_cb.server_db.num_records = 0; in SDP_DeleteRecord()
341 sdp_cb.server_db.di_primary_handle = 0; in SDP_DeleteRecord()
348 for (xx = 0; xx < sdp_cb.server_db.num_records; xx++, p_rec++) in SDP_DeleteRecord()
353 for (yy = xx; yy < sdp_cb.server_db.num_records; yy++, p_rec++) in SDP_DeleteRecord()
362 sdp_cb.server_db.num_records--; in SDP_DeleteRecord()
364 … SDP_TRACE_DEBUG("SDP_DeleteRecord ok, num_records:%d", sdp_cb.server_db.num_records); in SDP_DeleteRecord()
367 if( sdp_cb.server_db.di_primary_handle == handle ) in SDP_DeleteRecord()
369 sdp_cb.server_db.di_primary_handle = 0; in SDP_DeleteRecord()
400 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; in SDP_AddAttribute()
437 for (zz = 0; zz < sdp_cb.server_db.num_records; zz++, p_rec++) in SDP_AddAttribute()
891 tSDP_RECORD *p_rec = &sdp_cb.server_db.record[0]; in SDP_DeleteAttribute()
896 for (xx = 0; xx < sdp_cb.server_db.num_records; xx++, p_rec++) in SDP_DeleteAttribute()