Lines Matching refs:dba
30 #define QDBM_DATA dba_qdbm_data *dba = info->dbf
72 dpclose(dba->dbf); in DBA_CLOSE_FUNC()
73 pefree(dba, info->flags & DBA_PERSISTENT); in DBA_CLOSE_FUNC()
82 value = dpget(dba->dbf, key, keylen, 0, -1, &value_size); in DBA_FETCH_FUNC()
96 if (dpput(dba->dbf, key, keylen, val, vallen, mode == 1 ? DP_DKEEP : DP_DOVER)) { in DBA_UPDATE_FUNC()
112 value = dpget(dba->dbf, key, keylen, 0, -1, NULL); in DBA_EXISTS_FUNC()
125 return dpout(dba->dbf, key, keylen) ? SUCCESS : FAILURE; in DBA_DELETE_FUNC()
134 dpiterinit(dba->dbf); in DBA_FIRSTKEY_FUNC()
136 value = dpiternext(dba->dbf, &value_size); in DBA_FIRSTKEY_FUNC()
152 value = dpiternext(dba->dbf, &value_size); in DBA_NEXTKEY_FUNC()
166 dpoptimize(dba->dbf, 0); in DBA_OPTIMIZE_FUNC()
174 dpsync(dba->dbf); in DBA_SYNC_FUNC()