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.
71 static void ho_close(struct irs_ho *this);
72 static struct hostent * ho_byname(struct irs_ho *this, const char *name);
73 static struct hostent * ho_byname2(struct irs_ho *this, const char *name,
75 static struct hostent * ho_byaddr(struct irs_ho *this, const void *addr,
77 static struct hostent * ho_next(struct irs_ho *this);
78 static void ho_rewind(struct irs_ho *this);
79 static void ho_minimize(struct irs_ho *this);
82 static struct addrinfo * ho_addrinfo(struct irs_ho *this, const char *name,
88 * struct irs_ho * irs_irp_ho(struct irs_acc *this)
97 irs_irp_ho(struct irs_acc *this) {
113 pvt->girpdata = this->private;
136 ho_close(struct irs_ho *this) {
137 struct pvt *pvt = (struct pvt *)this->private;
139 ho_minimize(this);
144 memput(this, sizeof *this);
150 * struct hostent * ho_byname(struct irs_ho *this, const char *name)
155 ho_byname(struct irs_ho *this, const char *name) {
156 return (ho_byname2(this, name, AF_INET));
164 * struct hostent * ho_byname2(struct irs_ho *this, const char *name, int af)
169 ho_byname2(struct irs_ho *this, const char *name, int af) {
170 struct pvt *pvt = (struct pvt *)this->private;
216 * struct hostent * ho_byaddr(struct irs_ho *this, const void *addr,
222 ho_byaddr(struct irs_ho *this, const void *addr, int len, int af) {
223 struct pvt *pvt = (struct pvt *)this->private;
285 ho_next(struct irs_ho *this) {
286 struct pvt *pvt = (struct pvt *)this->private;
324 * void ho_rewind(struct irs_ho *this)
329 ho_rewind(struct irs_ho *this) {
330 struct pvt *pvt = (struct pvt *)this->private;
353 * void ho_minimize(struct irs_ho *this)
358 ho_minimize(struct irs_ho *this) {
359 struct pvt *pvt = (struct pvt *)this->private;
397 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai)
399 UNUSED(this);