Lines Matching refs:context
53 int hesiod_init(void **context);
54 void hesiod_end(void *context);
55 char * hesiod_to_bind(void *context, const char *name,
57 char ** hesiod_resolve(void *context, const char *name,
59 void hesiod_free_list(void *context, char **list);
72 hesiod_init(void **context) { in hesiod_init() argument
136 *context = ctx; in hesiod_init()
148 hesiod_end(void *context) { in hesiod_end() argument
149 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_end()
169 hesiod_to_bind(void *context, const char *name, const char *type) { in hesiod_to_bind() argument
170 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_to_bind()
179 else if ((rhs_list = hesiod_resolve(context, cp + 1, in hesiod_to_bind()
199 hesiod_free_list(context, rhs_list); in hesiod_to_bind()
218 hesiod_free_list(context, rhs_list); in hesiod_to_bind()
228 hesiod_resolve(void *context, const char *name, const char *type) { in hesiod_resolve() argument
229 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_resolve()
230 char *bindname = hesiod_to_bind(context, name, type); in hesiod_resolve()
254 hesiod_free_list(void *context, char **list) { in hesiod_free_list() argument
257 UNUSED(context); in hesiod_free_list()
459 __hesiod_res_get(void *context) { in __hesiod_res_get() argument
460 struct hesiod_p *ctx = context; in __hesiod_res_get()
477 __hesiod_res_set(void *context, struct __res_state *res, in __hesiod_res_set() argument
479 struct hesiod_p *ctx = context; in __hesiod_res_set()