Lines Matching defs:context
57 int hesiod_init(void **context);
58 void hesiod_end(void *context);
59 char * hesiod_to_bind(void *context, const char *name,
61 char ** hesiod_resolve(void *context, const char *name,
63 void hesiod_free_list(void *context, char **list);
76 hesiod_init(void **context) {
140 *context = ctx;
152 hesiod_end(void *context) {
153 struct hesiod_p *ctx = (struct hesiod_p *) context;
173 hesiod_to_bind(void *context, const char *name, const char *type) {
174 struct hesiod_p *ctx = (struct hesiod_p *) context;
183 else if ((rhs_list = hesiod_resolve(context, cp + 1,
203 hesiod_free_list(context, rhs_list);
222 hesiod_free_list(context, rhs_list);
232 hesiod_resolve(void *context, const char *name, const char *type) {
233 struct hesiod_p *ctx = (struct hesiod_p *) context;
234 char *bindname = hesiod_to_bind(context, name, type);
258 hesiod_free_list(void *context, char **list) {
261 UNUSED(context);
463 __hesiod_res_get(void *context) {
464 struct hesiod_p *ctx = context;
481 __hesiod_res_set(void *context, struct __res_state *res,
483 struct hesiod_p *ctx = context;