Lines Matching refs:cur_fdb
55 static DBM *cur_fdb; /* will be passwd back up by ypset_current_map */
164 if ((cur_fdb) && (strcmp(mapname, get_map_name(cur_fdb)) == 0)) {
165 return (cur_fdb);
169 if (NULL != cur_fdb)
170 dbm_close(cur_fdb);
176 if ((cur_fdb = dbm_open(mapname, O_RDWR, 0644)) != NULL) {
177 return (cur_fdb);
202 if (cur_fdb != NULL) {
203 (void) dbm_close(cur_fdb);
204 cur_fdb = NULL;