Home
last modified time | relevance | path

Searched refs:cur_fdb (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/ypcmd/
H A Dypserv_map.c55 static DBM *cur_fdb; /* will be passwd back up by ypset_current_map */ variable
164 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()