Home
last modified time | relevance | path

Searched refs:__res_state (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dlcl.c41 static struct __res_state * lcl_res_get(struct irs_acc *);
42 static void lcl_res_set(struct irs_acc *, struct __res_state *,
90 static struct __res_state *
95 struct __res_state *res; in lcl_res_get()
96 res = (struct __res_state *)malloc(sizeof *res); in lcl_res_get()
111 lcl_res_set(struct irs_acc *this, struct __res_state *res, in lcl_res_set()
H A Dnis.c51 static struct __res_state * nis_res_get(struct irs_acc *);
52 static void nis_res_set(struct irs_acc *, struct __res_state *,
103 static struct __res_state *
108 struct __res_state *res; in nis_res_get()
109 res = (struct __res_state *)malloc(sizeof *res); in nis_res_get()
124 nis_res_set(struct irs_acc *this, struct __res_state *res, in nis_res_set()
H A Ddns.c48 static struct __res_state * dns_res_get(struct irs_acc *);
49 static void dns_res_set(struct irs_acc *, struct __res_state *,
105 static struct __res_state *
110 struct __res_state *res; in dns_res_get()
111 res = (struct __res_state *)malloc(sizeof *res); in dns_res_get()
126 dns_res_set(struct irs_acc *this, struct __res_state *res, in dns_res_set()
H A Dgen_pr.c44 struct __res_state * res;
56 static struct __res_state * pr_res_get(struct irs_pr *);
58 struct __res_state *,
184 static struct __res_state *
189 struct __res_state *res; in pr_res_get()
190 res = (struct __res_state *)malloc(sizeof *res); in pr_res_get()
203 pr_res_set(struct irs_pr *this, struct __res_state *res, in pr_res_set()
H A Dgen_sv.c44 struct __res_state * res;
57 static struct __res_state * sv_res_get(struct irs_sv *);
59 struct __res_state *,
185 static struct __res_state *
190 struct __res_state *res; in sv_res_get()
191 res = (struct __res_state *)malloc(sizeof *res); in sv_res_get()
204 sv_res_set(struct irs_sv *this, struct __res_state *res, in sv_res_set()
H A Dirs_data.c52 extern struct __res_state _res;
202 struct __res_state *
203 __res_state(void) { in __res_state() function
213 struct __res_state *
214 __res_state(void) { in __res_state() function
238 __h_errno_set(struct __res_state *res, int err) { in __h_errno_set()
H A Dhesiod_p.h39 struct __res_state * res; /*%< resolver context */
41 void (*res_set)(struct hesiod_p *, struct __res_state *,
43 struct __res_state * (*res_get)(struct hesiod_p *);
H A Dgen_nw.c45 struct __res_state * res;
57 static struct __res_state * nw_res_get(struct irs_nw *this);
59 struct __res_state *res,
209 static struct __res_state *
214 struct __res_state *res; in nw_res_get()
215 res = (struct __res_state *)malloc(sizeof *res); in nw_res_get()
228 nw_res_set(struct irs_nw *this, struct __res_state *res, in nw_res_set()
H A Dlcl_nw.c90 struct __res_state * res;
102 static struct __res_state * nw_res_get(struct irs_nw *this);
104 struct __res_state *res,
326 static struct __res_state *
331 struct __res_state *res; in nw_res_get()
332 res = (struct __res_state *)malloc(sizeof *res); in nw_res_get()
345 nw_res_set(struct irs_nw *this, struct __res_state *res, in nw_res_set()
H A Dgen_ho.c48 struct __res_state * res;
63 static struct __res_state * ho_res_get(struct irs_ho *this);
65 struct __res_state *res,
291 static struct __res_state *
296 struct __res_state *res; in ho_res_get()
297 res = (struct __res_state *)malloc(sizeof *res); in ho_res_get()
310 ho_res_set(struct irs_ho *this, struct __res_state *res, in ho_res_set()
H A Ddns_sv.c52 struct __res_state * res;
66 static struct __res_state * sv_res_get(struct irs_sv *);
68 struct __res_state *,
278 static struct __res_state *
287 sv_res_set(struct irs_sv *this, struct __res_state * res, in sv_res_set()
H A Ddns_pr.c59 static struct __res_state * pr_res_get(struct irs_pr *);
61 struct __res_state *,
168 static struct __res_state *
177 pr_res_set(struct irs_pr *this, struct __res_state * res, in pr_res_set()
H A Dlcl_ho.c109 struct __res_state *res;
132 static struct __res_state * ho_res_get(struct irs_ho *this);
134 struct __res_state *res,
452 static struct __res_state *
457 struct __res_state *res; in ho_res_get()
458 res = (struct __res_state *)malloc(sizeof *res); in ho_res_get()
471 ho_res_set(struct irs_ho *this, struct __res_state *res, in ho_res_set()
H A Dgen.c114 static struct __res_state * gen_res_get(struct irs_acc *);
115 static void gen_res_set(struct irs_acc *, struct __res_state *,
172 static struct __res_state *
177 struct __res_state *res; in gen_res_get()
178 res = (struct __res_state *)malloc(sizeof *res); in gen_res_get()
192 gen_res_set(struct irs_acc *this, struct __res_state *res, in gen_res_set()
H A Ddns_nw.c61 struct __res_state * res;
80 static struct __res_state * nw_res_get(struct irs_nw *this);
82 struct __res_state *res,
202 static struct __res_state *
207 struct __res_state *res; in nw_res_get()
208 res = (struct __res_state *)malloc(sizeof *res); in nw_res_get()
221 nw_res_set(struct irs_nw *this, struct __res_state *res, in nw_res_set()
H A Dhesiod.c458 struct __res_state *
463 struct __res_state *res; in __hesiod_res_get()
464 res = (struct __res_state *)malloc(sizeof *res); in __hesiod_res_get()
477 __hesiod_res_set(void *context, struct __res_state *res, in __hesiod_res_set()
H A Dnis_p.h32 struct __res_state * res;
H A Dlcl_p.h34 struct __res_state * res;
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_mtctxres.c33 extern struct __res_state *__res_state(void);
35 struct __res_state *
37 return (__res_state()); in __res_get_res()
/illumos-gate/usr/src/head/
H A Dresolv.h121 struct __res_state; /* forward */
123 void __h_errno_set(struct __res_state *res, int err);
184 struct __res_state { struct
230 typedef struct __res_state *res_state; argument
316 extern struct __res_state *__res_state(void);
317 #define _res (*__res_state())
320 extern struct __res_state _res;
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dirs.h49 struct __res_state * (*res_get) __P((struct irs_gr *));
65 struct __res_state * (*res_get) __P((struct irs_pw *));
82 struct __res_state * (*res_get) __P((struct irs_sv *));
98 struct __res_state * (*res_get) __P((struct irs_pr *));
116 struct __res_state * (*res_get) __P((struct irs_ho *));
134 struct __res_state * (*res_get) __P((struct irs_nw *));
176 struct __res_state * (*res_get) __P((struct irs_acc *));
H A Dhesiod.h35 struct __res_state * __hesiod_res_get __P((void *));
36 void __hesiod_res_set __P((void *, struct __res_state *,
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_mt.c61 extern struct __res_state *__res_get_res(void);
91 struct __res_state *(*set_res_retry)() = 0;
129 (struct __res_state *(*)(void))dlsym(reslib, in _nss_dns_init()
247 struct __res_state *res; in __fallback_override_retry()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c342 struct __res_state res_state; in smb_getfqdomainname()
355 bzero(&res_state, sizeof (struct __res_state)); in smb_getfqdomainname()
653 struct __res_state res_state; in smb_get_nameservers()
659 bzero(&res_state, sizeof (struct __res_state)); in smb_get_nameservers()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_data.c83 struct __res_state _res
91 #define _res (*__res_state())

12