Lines Matching defs:map

96 static char err_map[] = "ypserv: %s no such map or access denied.\n";
211 * sanity check the map name and to a DBM lookup
214 if ((fdb = ypset_current_map(req.map, req.domain,
278 req.map) == TRUE)
319 if ((fdb = ypset_current_map(req.map, req.domain,
357 if ((fdb = ypset_current_map(req.map, req.domain,
378 * This implements the "transfer map" function. It takes the domain
379 * and map names and the callback information provided by the
416 newreq.map_parms.map,
448 oldreq.map_parms.map,
465 /* Check that the map exists and is accessible */
518 req.domain = req.map = NULL;
547 * access control hack: If denied then invalidate the map name.
550 if ((fdb = ypset_current_map(req.map,
554 req.map[0] = '-';
559 * we must clear the "current map" first so that we do not
610 if ((fdb = ypset_current_map(req.map,
643 req.domain = req.map = NULL;
658 if ((fdb = ypset_current_map(req.map,
663 if (!ypget_map_order(req.map, req.domain, &resp.ordernum)) {
800 if ((fdb = ypset_current_map(req->map, req->domain,
855 if (strcmp(req.map, "hosts.byname") &&
856 strcmp(req.map, "ipnodes.byname"))
884 if (strcmp(req.map, "ipnodes.byname") == 0) {
1070 &nrq, nrq.map);
1217 * This retrieves the order number and master peer name from the map.
1219 * in iff the domain exists. map is filled in iff the map exists.
1220 * order number is filled in iff it's in the map. owner is filled in
1221 * iff the master peer is in the map.
1228 char *map = "";
1254 map = req.yppoll_req_map;
1259 map = req.yppoll_req_map;
1260 ypget_map_order(map, domain,
1266 map = req.yppoll_req_map;
1278 resp.yppoll_resp_map = map;