Lines Matching refs:dbp
55 DB *dbp; member
61 DB *dbp = NULL; local
95 if ((err=db_create(&dbp, NULL, 0)) == 0) {
96 dbp->set_errcall(dbp, php_dba_db3_errcall_fcn);
99 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
101 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
106 data->dbp = dbp;
112 dbp->close(dbp, 0);
127 dba->dbp->close(dba->dbp, 0);
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;
193 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
229 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;