Lines Matching refs:new
46 old2new(ns_updrec *old, __ISC_ns_updrec *new) { in old2new() argument
49 if ((new->r_dname = strdup(old->r_dname)) == 0) in old2new()
52 new->r_dname = 0; in old2new()
55 new->r_glink.prev = in old2new()
56 new->r_glink.next = in old2new()
57 new->r_link.prev = in old2new()
58 new->r_link.next = 0; in old2new()
60 new->r_section = old->r_section; in old2new()
61 new->r_class = old->r_class; in old2new()
62 new->r_type = old->r_type; in old2new()
63 new->r_ttl = old->r_ttl; in old2new()
64 new->r_data = old->r_data; in old2new()
65 new->r_size = old->r_size; in old2new()
66 new->r_opcode = old->r_opcode; in old2new()
67 new->r_dp = old->r_dp; in old2new()
68 new->r_deldp = old->r_deldp; in old2new()
69 new->r_zone = old->r_zone; in old2new()
76 new2old(__ISC_ns_updrec *new, ns_updrec *old) { in new2old() argument
78 if (new->r_dname != 0) { in new2old()
79 if ((old->r_dname = strdup(new->r_dname)) == 0) in new2old()
84 old->r_section = new->r_section; in new2old()
85 old->r_class = new->r_class; in new2old()
86 old->r_type = new->r_type; in new2old()
87 old->r_ttl = new->r_ttl; in new2old()
88 old->r_data = new->r_data; in new2old()
89 old->r_size = new->r_size; in new2old()
90 old->r_opcode = new->r_opcode; in new2old()
92 old->r_dp = new->r_dp; in new2old()
93 old->r_deldp = new->r_deldp; in new2old()
94 old->r_zone = new->r_zone; in new2old()