Lines Matching refs:this
5 * Permission to use, copy, modify, and distribute this software for any
7 * copyright notice and this permission notice appear in all copies.
24 * dns_gr.c --- this file contains the functions for accessing
93 static struct group * get_hes_group(struct irs_gr *this,
100 irs_dns_gr(struct irs_acc *this) {
101 struct dns_p *dns = (struct dns_p *)this->private;
137 gr_close(struct irs_gr *this) {
138 struct pvt *pvt = (struct pvt *)this->private;
145 memput(this, sizeof *this);
149 gr_next(struct irs_gr *this) {
151 UNUSED(this);
157 gr_byname(struct irs_gr *this, const char *name) {
158 return (get_hes_group(this, name, "group"));
162 gr_bygid(struct irs_gr *this, gid_t gid) {
166 return (get_hes_group(this, name, "gid"));
170 gr_rewind(struct irs_gr *this) {
172 UNUSED(this);
178 gr_list(struct irs_gr *this, const char *name,
181 UNUSED(this);
187 /* There's some way to do this in Hesiod. */
192 gr_minimize(struct irs_gr *this) {
194 UNUSED(this);
201 get_hes_group(struct irs_gr *this, const char *name, const char *type) {
202 struct pvt *pvt = (struct pvt *)this->private;
278 gr_res_get(struct irs_gr *this) {
279 struct pvt *pvt = (struct pvt *)this->private;
286 gr_res_set(struct irs_gr *this, struct __res_state * res,
288 struct pvt *pvt = (struct pvt *)this->private;