Searched refs:cur_fdb (Results 1 – 1 of 1) sorted by relevance
55 static DBM *cur_fdb; /* will be passwd back up by ypset_current_map */ variable164 if ((cur_fdb) && (strcmp(mapname, get_map_name(cur_fdb)) == 0)) { in ypset_current_map()165 return (cur_fdb); in ypset_current_map()169 if (NULL != cur_fdb) in ypset_current_map()170 dbm_close(cur_fdb); in ypset_current_map()176 if ((cur_fdb = dbm_open(mapname, O_RDWR, 0644)) != NULL) { in ypset_current_map()177 return (cur_fdb); in ypset_current_map()202 if (cur_fdb != NULL) { in ypclr_current_map()203 (void) dbm_close(cur_fdb); in ypclr_current_map()204 cur_fdb = NULL; in ypclr_current_map()