Lines Matching refs:hostent
26 * They use a struct hostent which is usually defined in <namedb.h>.
29 * struct hostent {
72 * Successful calls of the functions return a struct hostent for the name
80 * *error. resbuf is a pointer to a struct hostent which is initialised
83 * h_addr_list elements of the struct hostent returned in resbuf.
85 * pointer to the struct hostent it created.
92 * a struct hostent which is initialised by a successful call to
95 * struct hostent returned in resbuf. Successful calls to
97 * struct hostent it created.
128 * lwres_gethostbyaddr_r() return resbuf, a pointer to the struct hostent
132 * the struct hostent. If buf was too small, both lwres_gethostbyname_r()
166 static struct hostent *he = NULL;
167 static int copytobuf(struct hostent *, struct hostent *, char *, int);
170 struct hostent *
181 struct hostent *
191 struct hostent *
202 struct hostent *
228 struct hostent *
229 lwres_gethostbyname_r(const char *name, struct hostent *resbuf,
232 struct hostent *he;
248 struct hostent *
250 struct hostent *resbuf, char *buf, int buflen,
253 struct hostent *he;
269 struct hostent *
270 lwres_gethostent_r(struct hostent *resbuf, char *buf, int buflen, int *error) {
296 copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) {