Logo Search packages:      
Sourcecode: ldns version File versions  Download package

void ldns_rr_set_type ( ldns_rr rr,
ldns_rr_type  rr_type 

sets the type in the rr.

[in] *rr rr to operate on
[in] rr_type set to this type

Definition at line 571 of file rr.c.

References ldns_struct_rr::_rr_type, and ldns_rr_set_type().

Referenced by ldns_pkt2buffer_wire(), ldns_pkt_query_new(), ldns_pkt_query_new_frm_str(), ldns_rr_clone(), ldns_rr_new_frm_str(), ldns_rr_new_frm_type(), ldns_rr_set_type(), and ldns_wire2rr().

      rr->_rr_type = rr_type;

Generated by  Doxygen 1.6.0   Back to index