Lines Matching defs:map
63 * The retrieves the order number of a named map from the order number datum
64 * in the map data base.
67 ypget_map_order(char *map, char *domain, uint_t *order)
75 if ((fdb = ypset_current_map(map, domain, &error)) != NULL) {
108 * The retrieves the master server name of a named map from the master datum
109 * in the map data base.
141 * This makes a map into the current map, and calls dbminit on that map
142 * and returns the DBM pointer to the map. Procedures called by
147 ypset_current_map(char *map, char *domain, uint_t *error)
152 /* Do not allow any path as a domain name or a map name. */
153 if (!map || ((lenm = (int)strlen(map)) == 0) || (lenm > YPMAXMAP) ||
155 (lend > YPMAXDOMAIN) || (strchr(map, '/') != NULL) ||
161 if (FALSE == ypmkfilename(domain, map, mapname))
168 /* If there was a previous open map close it */
172 /* Set the map access as "unknown" as the new map has not been loaded */
175 /* All the map locking is now handled inside the dbm_open shim */
196 * This checks to see if there is a current map, and, if there is, does a
197 * dbmclose on it and sets the current map name and its DBM ptr to null.
210 * Checks to see if caller has permission to query the current map (as