Lines Matching defs:section
64 int ns_skiprr(const unsigned char* ptr, const unsigned char* eom, ns_sect section, int count) {
75 if (section != ns_s_qd) {
91 int ns_parserr(ns_msg* handle, ns_sect section, int rrnum, ns_rr* rr) {
94 if ((int)section < 0 || section >= ns_s_max)
96 if (section != handle->_sect) {
97 handle->_sect = section;
99 handle->_msg_ptr = handle->_sections[section];
103 if (rrnum < 0 || rrnum >= handle->_counts[section])
107 handle->_msg_ptr = handle->_sections[section];
110 r = ns_skiprr(handle->_msg_ptr, handle->_eom, section, rrnum - handle->_rrnum);
124 if (section != ns_s_qd) {
139 if (handle->_rrnum > handle->_counts[section]) {
140 handle->_sect = section + 1;