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

void ldns_rr_list_set_rr_count ( ldns_rr_list rr_list,
size_t  count 

sets the number of rr's in an rr_list.

[in] rr_list the rr_list to set the count on
[in] count the number of rr in this list

Definition at line 715 of file rr.c.

References ldns_struct_rr_list::_rr_count, and ldns_rr_list_set_rr_count().

Referenced by ldns_rr_list_pop_rr(), ldns_rr_list_push_rr(), and ldns_rr_list_set_rr_count().

      assert(count <= rr_list->_rr_capacity);
      rr_list->_rr_count = count;

Generated by  Doxygen 1.6.0   Back to index