Searched refs:rrnum (Results 1 – 2 of 2) sorted by relevance
165 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument178 if (rrnum == -1) in ns_parserr()179 rrnum = handle->_rrnum; in ns_parserr()180 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()182 if (rrnum < handle->_rrnum) { in ns_parserr()188 rrnum - handle->_rrnum); in ns_parserr()192 handle->_rrnum = rrnum; in ns_parserr()
153 int n, sflag, rrnum; in do_section() local165 rrnum = 0; in do_section()167 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section()171 else if (rrnum > 0 && sflag != 0 && in do_section()176 if (rrnum == 0 && sflag != 0 && (_res.pfcode & RES_PRF_HEAD1)) in do_section()201 rrnum++; in do_section()