Lines Matching refs:info
38 switch(info->mode) { in DBA_OPEN_FUNC()
40 dbf = dpopen(info->path, DP_OREADER, 0); in DBA_OPEN_FUNC()
43 dbf = dpopen(info->path, DP_OWRITER, 0); in DBA_OPEN_FUNC()
46 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT, 0); in DBA_OPEN_FUNC()
49 dbf = dpopen(info->path, DP_OWRITER | DP_OCREAT | DP_OTRUNC, 0); in DBA_OPEN_FUNC()
56 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
57 memset(info->dbf, 0, sizeof(dba_qdbm_data)); in DBA_OPEN_FUNC()
58 ((dba_qdbm_data *) info->dbf)->dbf = dbf; in DBA_OPEN_FUNC()
68 dba_qdbm_data *dba = info->dbf; in DBA_CLOSE_FUNC()
71 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
76 dba_qdbm_data *dba = info->dbf; in DBA_FETCH_FUNC()
92 dba_qdbm_data *dba = info->dbf; in DBA_UPDATE_FUNC()
107 dba_qdbm_data *dba = info->dbf; in DBA_EXISTS_FUNC()
121 dba_qdbm_data *dba = info->dbf; in DBA_DELETE_FUNC()
128 dba_qdbm_data *dba = info->dbf; in DBA_FIRSTKEY_FUNC()
146 dba_qdbm_data *dba = info->dbf; in DBA_NEXTKEY_FUNC()
162 dba_qdbm_data *dba = info->dbf; in DBA_OPTIMIZE_FUNC()
170 dba_qdbm_data *dba = info->dbf; in DBA_SYNC_FUNC()