Lines Matching refs:answer
64 * Formulate a normal query, send, and await answer.
65 * Returned answer is placed in supplied buffer "answer".
66 * Perform preliminary check of answer, returning success only
67 * if no error is indicated and the answer count is nonzero.
70 * Caller must parse answer and determine whether it answers the question.
73 res_query(name, class, type, answer, anslen)
76 u_char *answer; /* buffer to put answer */
77 int anslen; /* size of answer buffer */
100 n = res_send(buf, n, (char *)answer, anslen);
110 hp = (HEADER *) answer;
142 * Formulate a normal query, send, and retrieve answer in supplied buffer.
144 * If enabled, implement search rules until answer or unrecoverable failure
150 res_search(name, class, type, answer, anslen)
153 u_char *answer; /* buffer to put answer */
154 int anslen; /* size of answer */
169 return (res_query(cp, class, type, answer, anslen));
181 answer, anslen);
192 * If we get some other error (negative answer or
215 answer, anslen)) > 0)
227 res_querydomain(name, domain, class, type, answer, anslen)
230 u_char *answer; /* buffer to put answer */
231 int anslen; /* size of answer */
266 return (res_query(longname, class, type, answer, anslen));