Lines Matching defs:record

7 /*	resource record memory and list management
27 /* DNS_RR *dns_rr_copy(record)
28 /* DNS_RR *record;
30 /* DNS_RR *dns_rr_append(list, record)
32 /* DNS_RR *record;
53 /* DNS_RR *dns_rr_remove(list, record)
55 /* DNS_RR *record;
81 /* The routines in this module maintain memory for DNS resource record
84 /* dns_rr_create() creates and initializes one resource record.
98 /* dns_rr_copy() makes a copy of a resource record.
100 /* dns_rr_append() appends a resource record to a (list of) resource
101 /* record(s).
113 /* dns_rr_remove() removes the specified record from the specified list.
115 /* The record MUST be a list member.
155 /* dns_rr_create - fill in resource record structure */
189 /* dns_rr_free - destroy resource record structure */
204 /* dns_rr_copy - copy resource record */
223 /* dns_rr_append - append resource record to list */
297 /* dns_rr_sort - sort resource record list */
349 /* dns_rr_shuffle - shuffle resource record list */
401 /* dns_rr_remove - remove record from list, return new list */
403 DNS_RR *dns_rr_remove(DNS_RR *list, DNS_RR *record)
406 msg_panic("dns_rr_remove: record not found");
408 if (list == record) {
409 list = record->next;
410 record->next = 0;
411 dns_rr_free(record);
413 list->next = dns_rr_remove(list->next, record);
426 * Compute the sum of record weights. If weights are not supplied then
437 * The record ordering code below differs from RFC 2782 when the input
455 * Move the first record with running_sum >= threshold to the ordered
471 /* dns_srv_rr_sort - sort resource record list */