Lines Matching refs:dba
48 #define DB3_DATA dba_db3_data *dba = info->dbf
126 if (dba->cursor) dba->cursor->c_close(dba->cursor);
127 dba->dbp->close(dba->dbp, 0);
128 pefree(dba, info->flags&DBA_PERSISTENT);
139 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
156 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
170 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
181 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
188 if (dba->cursor) {
189 dba->cursor->c_close(dba->cursor);
192 dba->cursor = NULL;
193 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
210 if (dba->cursor->c_get(dba->cursor, &gkey, &gval, DB_NEXT) == 0) {
229 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;