Home
last modified time | relevance | path

Searched refs:context (Results 1 – 6 of 6) sorted by relevance

/hesiod/
A Dhesiod.h42 int hesiod_init (void **context) attribute_hidden;
43 void hesiod_end (void *context) attribute_hidden;
44 char * hesiod_to_bind (void *context, const char *name,
46 char ** hesiod_resolve (void *context, const char *name,
48 void hesiod_free_list (void *context, char **list) attribute_hidden;
A Dhesiod.c77 hesiod_init(void **context) { in hesiod_init() argument
124 *context = ctx; in hesiod_init()
136 hesiod_end(void *context) { in hesiod_end() argument
137 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_end()
152 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_to_bind()
162 else if ((rhs_list = hesiod_resolve(context, cp + 1, in hesiod_to_bind()
181 hesiod_free_list(context, rhs_list); in hesiod_to_bind()
199 hesiod_free_list(context, rhs_list); in hesiod_to_bind()
210 struct hesiod_p *ctx = (struct hesiod_p *) context; in hesiod_resolve()
211 char *bindname = hesiod_to_bind(context, name, type); in hesiod_resolve()
[all …]
/hesiod/nss_hesiod/
A Dhesiod-grp.c54 void *context; in lookup() local
60 if (hesiod_init (&context) < 0) in lookup()
67 hesiod_end (context); in lookup()
77 hesiod_end (context); in lookup()
83 hesiod_free_list (context, list); in lookup()
84 hesiod_end (context); in lookup()
176 void *context; in _nss_hesiod_initgroups_dyn() local
180 if (hesiod_init (&context) < 0) in _nss_hesiod_initgroups_dyn()
187 hesiod_end (context); in _nss_hesiod_initgroups_dyn()
259 hesiod_free_list (context, list); in _nss_hesiod_initgroups_dyn()
[all …]
A Dhesiod-proto.c64 void *context; in lookup() local
70 if (hesiod_init (&context) < 0) in lookup()
73 list = hesiod_resolve (context, name, type); in lookup()
77 hesiod_end (context); in lookup()
92 hesiod_free_list (context, list); in lookup()
93 hesiod_end (context); in lookup()
103 hesiod_free_list (context, list); in lookup()
104 hesiod_end (context); in lookup()
115 hesiod_free_list (context, list); in lookup()
116 hesiod_end (context); in lookup()
A Dhesiod-service.c65 void *context; in lookup() local
71 if (hesiod_init (&context) < 0) in lookup()
74 list = hesiod_resolve (context, name, type); in lookup()
78 hesiod_end (context); in lookup()
93 hesiod_free_list (context, list); in lookup()
94 hesiod_end (context); in lookup()
104 hesiod_free_list (context, list); in lookup()
105 hesiod_end (context); in lookup()
116 hesiod_free_list (context, list); in lookup()
117 hesiod_end (context); in lookup()
A Dhesiod-pwd.c52 void *context; in lookup() local
58 if (hesiod_init (&context) < 0) in lookup()
61 list = hesiod_resolve (context, name, type); in lookup()
65 hesiod_end (context); in lookup()
74 hesiod_free_list (context, list); in lookup()
75 hesiod_end (context); in lookup()
81 hesiod_free_list (context, list); in lookup()
82 hesiod_end (context); in lookup()

Completed in 7 milliseconds