Lines Matching refs:res_state
123 typedef struct __res_state* res_state; typedef
212 int res_ninit(res_state);
215 int res_nquery(res_state, const char*, int, int, u_char*, int, int*);
216 int res_nsearch(res_state, const char*, int, int, u_char*, int, int*);
217 int res_nquerydomain(res_state, const char*, const char*, int, int, u_char*, int, int*);
218 int res_nmkquery(res_state, int, const char*, int, int, const u_char*, int, const u_char*, u_char*,
220 int res_nsend(res_state, const u_char*, int, u_char*, int, int*, uint32_t);
221 void res_nclose(res_state);
222 int res_nopt(res_state, int, u_char*, int, int);
223 int res_vinit(res_state, int);
224 void res_ndestroy(res_state);
225 void res_setservers(res_state, const sockaddr_union*, int);
226 int res_getservers(res_state, sockaddr_union*, int);
229 void res_setnetcontext(res_state, const struct android_net_context*);