Lines Matching refs:dba
63 #define DB4_DATA dba_db4_data *dba = info->dbf
156 if (dba->cursor) dba->cursor->c_close(dba->cursor);
157 dba->dbp->close(dba->dbp, 0);
158 pefree(dba, info->flags&DBA_PERSISTENT);
172 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
192 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
211 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
225 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
232 if (dba->cursor) {
233 dba->cursor->c_close(dba->cursor);
236 dba->cursor = NULL;
237 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
258 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
285 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;