Lines Matching refs:dba
58 #define DB4_DATA dba_db4_data *dba = info->dbf
150 if (dba->cursor) dba->cursor->c_close(dba->cursor);
151 dba->dbp->close(dba->dbp, 0);
152 pefree(dba, info->flags&DBA_PERSISTENT);
166 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
186 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
205 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
219 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
226 if (dba->cursor) {
227 dba->cursor->c_close(dba->cursor);
230 dba->cursor = NULL;
231 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
252 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
279 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;