DB_HASH
case DB_HASH:
dbp->type = DB_HASH;
return (DB_HASH);
case DB_HASH:
if (!(db = dbopen("bigtest", O_RDWR | O_CREAT, 0644, DB_HASH, &info))) {
O_CREAT|O_TRUNC|O_RDWR, 0600, DB_HASH, &ctl))){
if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, NULL))) {
if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
if ((capdbp = dbopen(pbuf, O_RDONLY, 0, DB_HASH, 0))
(*db = dbopen(NULL, O_RDWR, 600, DB_HASH, 0)) == NULL)
(res = dbopen(_PATH_SMP_DB, O_RDONLY, 0, DB_HASH, NULL)) == NULL)
res = dbopen(_PATH_MP_DB, 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);
dbp = dbopen(buf,flags ? flags : FLAGS,PERM_SECURE,DB_HASH,&openinfo);
if ((session_db = dbopen(NULL, O_RDWR, 0, DB_HASH, NULL)) == NULL) {
DEFFILEMODE, DB_HASH, &openinfo)) == NULL)
(db = dbopen(NULL, O_RDWR, 0, DB_HASH, NULL)) == NULL)
O_RDWR|O_EXCL, PERM_INSECURE, DB_HASH, &openinfo);
O_RDWR|O_EXCL, PERM_SECURE, DB_HASH, &openinfo);
pw_db = dbopen(_PATH_MP_DB, O_RDONLY, 0, DB_HASH, NULL);
O_RDWR|O_CREAT|O_EXCL, PERM_INSECURE, DB_HASH, &openinfo);
O_RDWR|O_CREAT|O_EXCL, PERM_SECURE, DB_HASH, &openinfo);
return(dbopen(path, flags, PERM_SECURE, DB_HASH, &openinfo));
dbp = dbopen(buf,O_RDONLY, PERM_SECURE, DB_HASH, NULL);