Lines Matching refs:info
44 #define DB3_DATA dba_db3_data *dba = info->dbf
62 int s = VCWD_STAT(info->path, &check_stat);
65 info->mode = DBA_TRUNC; /* force truncate */
68 type = info->mode == DBA_READER ? DB_UNKNOWN :
69 info->mode == DBA_TRUNC ? DB_BTREE :
72 gmode = info->mode == DBA_READER ? DB_RDONLY :
73 (info->mode == DBA_CREAT && s) ? DB_CREATE :
74 (info->mode == DBA_CREAT && !s) ? 0 :
75 info->mode == DBA_WRITER ? 0 :
76 info->mode == DBA_TRUNC ? DB_CREATE | DB_TRUNCATE : -1;
82 if (info->argc > 0) {
83 filemode = zval_get_long(&info->argv[0]);
94 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
96 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
100 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
103 info->dbf = data;
123 pefree(dba, info->flags&DBA_PERSISTENT);
193 return dba_nextkey_db3(info, newlen);