Lines Matching refs:domain
59 char *domain;
83 if (n->domain != 0)
84 free(n->domain);
92 makenode(char *domain, char *map, int keylen, int vallen)
102 if (((n->domain = strdup(domain)) == 0) ||
118 in_cache(char *domain, char *map, char *key, int keylen, char **val,
137 (strcmp(domain, c->domain) == 0)) {
166 * Requests the yp server associated with a given domain to attempt to match
172 __yp_match_cflookup(char *domain, char *map, char *key, int keylen, char **val,
187 if ((map == NULL) || (domain == NULL))
190 domlen = strlen(domain);
199 found_it = in_cache(domain, map, key, keylen, &my_val, &my_vallen);
218 if (reason = __yp_dobind_cflookup(domain, &pdomb, hardlookup))
223 reason = domatch(domain, map, key, keylen, pdomb,
229 yp_unbind(domain);
250 in_cache(domain, map, key, keylen, &my_val, &my_vallen)) {
268 c = makenode(domain, map, keylen, savesize);
290 rsvdreason = yp_match_rsvdport(domain, map, key, keylen, val,
300 char *domain,
309 return (__yp_match_cflookup(domain, map, key, keylen, val, vallen, 1));
337 * Requests the yp server associated with a given domain to attempt to match
351 char *domain,
371 if ((map == NULL) || (domain == NULL))
374 domlen = strlen(domain);
383 found_it = in_cache(domain, map, key, keylen, &my_val, &my_vallen);
401 if (reason = __yp_dobind_rsvdport_cflookup(domain, &pdomb,
407 reason = domatch(domain, map, key, keylen,
419 yp_unbind(domain);
445 in_cache(domain, map, key, keylen, &my_val, &my_vallen)) {
463 c = makenode(domain, map, keylen, savesize);
485 char *domain,
493 return (__yp_match_rsvdport_cflookup(domain, map, key, keylen, val,
502 domatch(char *domain, char *map, char *key, int keylen,
510 req.domain = domain;