DB_HASH
case DB_HASH:
dbp->type = DB_HASH;
DB_HASH, 0)) != NULL) {
_ng_db = dbopen(_PATH_NETGROUP_DB, O_RDONLY, 0, DB_HASH, NULL);
_ng_db = dbopen(_PATH_NETGROUP_DB, O_RDONLY, 0, DB_HASH, NULL);
state->exclude = dbopen(NULL, O_RDWR, 600, DB_HASH, NULL);
*db = dbopen(dbfile, O_RDONLY, 0, DB_HASH, NULL);
*db = dbopen(dbfile, O_RDONLY, 0, DB_HASH, NULL);
db = dbopen(fname, O_RDONLY|O_SHLOCK|O_CLOEXEC, 0, DB_HASH, NULL);
db = dbopen(fname, O_RDWR|O_CREAT|O_EXLOCK|O_CLOEXEC, 0644, DB_HASH, NULL);
if ((session_db = dbopen(NULL, O_RDWR, 0, DB_HASH, NULL)) == 0) {
O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH,
return DB_HASH;
case DB_HASH:
db = dbopen(NULL, O_CREAT|O_TRUNC|O_RDWR, 0, DB_HASH, &hi);
db = dbopen(dbname, flags, perm, DB_HASH, &openinfo);
DEFFILEMODE, DB_HASH, &openinfo)) == NULL)
oi.dbtype = DB_HASH;
else if (DB_HASH == oi.dbtype)
lldb = dbopen(_PATH_LASTLOGX, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL);
(db = dbopen(NULL, O_RDWR, 0, DB_HASH, NULL)) == NULL)
S_IRUSR|S_IWUSR, DB_HASH, NULL);
FILE_PERMISSION, DB_HASH, &openinfo);
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, DB_HASH, &openinfo);
if ((db = dbopen(_PATH_KVMDB, O_RDONLY, 0, DB_HASH, NULL)) == NULL)
DB *db = dbopen(logfile, O_RDONLY|O_SHLOCK, 0, DB_HASH, NULL);
(S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH), DB_HASH, NULL);
db = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL);
xdb = dbopen(NULL, O_RDWR | O_CREAT | O_EXCL, 0, DB_HASH, NULL);
DB_HASH, NULL);
db->db = dbopen(db->dbname, flags, perm, DB_HASH, &openinfo);
db = dbopen(fname, O_RDONLY, PERM_INSECURE, DB_HASH, NULL);
db = dbopen(filename, O_RDWR|O_CREAT|O_NDELAY|O_EXLOCK, 0644, DB_HASH,
(S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH), DB_HASH, &hinfo);
if ((db = dbopen(NULL, O_RDWR, 0, DB_HASH, &hinfo)) == NULL)
db = (DBM *)dbopen(path, flags, mode, DB_HASH, NULL);