Lines Matching refs:dba
62 #define DB4_DATA dba_db4_data *dba = info->dbf
155 if (dba->cursor) dba->cursor->c_close(dba->cursor);
156 dba->dbp->close(dba->dbp, 0);
157 pefree(dba, info->flags&DBA_PERSISTENT);
171 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
191 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
210 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
224 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
231 if (dba->cursor) {
232 dba->cursor->c_close(dba->cursor);
235 dba->cursor = NULL;
236 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
257 if (dba->cursor && dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
284 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;