Lines Matching refs:pvt

59 struct pvt {  struct
95 struct pvt *pvt; in irs_irp_ho() local
103 if (!(pvt = memget(sizeof *pvt))) { in irs_irp_ho()
108 memset(pvt, 0, sizeof *pvt); in irs_irp_ho()
109 pvt->girpdata = this->private; in irs_irp_ho()
111 ho->private = pvt; in irs_irp_ho()
133 struct pvt *pvt = (struct pvt *)this->private; in ho_close() local
137 free_host(&pvt->host); in ho_close()
139 memput(pvt, sizeof *pvt); in ho_close()
166 struct pvt *pvt = (struct pvt *)this->private; in ho_byname2() local
167 struct hostent *ho = &pvt->host; in ho_byname2()
179 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_byname2()
183 if (irs_irp_send_command(pvt->girpdata, "gethostbyname2 %s %s", in ho_byname2()
187 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_byname2()
219 struct pvt *pvt = (struct pvt *)this->private; in ho_byaddr() local
220 struct hostent *ho = &pvt->host; in ho_byaddr()
237 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_byaddr()
245 if (irs_irp_send_command(pvt->girpdata, "gethostbyaddr %s %s", in ho_byaddr()
250 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_byaddr()
282 struct pvt *pvt = (struct pvt *)this->private; in ho_next() local
283 struct hostent *ho = &pvt->host; in ho_next()
289 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_next()
293 if (irs_irp_send_command(pvt->girpdata, "gethostent") != 0) { in ho_next()
297 if (irs_irp_get_full_response(pvt->girpdata, &code, in ho_next()
326 struct pvt *pvt = (struct pvt *)this->private; in ho_rewind() local
330 if (irs_irp_connection_setup(pvt->girpdata, &pvt->warned) != 0) { in ho_rewind()
334 if (irs_irp_send_command(pvt->girpdata, "sethostent") != 0) { in ho_rewind()
338 code = irs_irp_read_response(pvt->girpdata, text, sizeof text); in ho_rewind()
355 struct pvt *pvt = (struct pvt *)this->private; in ho_minimize() local
357 free_host(&pvt->host); in ho_minimize()
359 irs_irp_disconnect(pvt->girpdata); in ho_minimize()