Lines Matching refs:dbp
45 DB *dbp; member
51 DB *dbp = NULL; local
80 if ((err=db_create(&dbp, NULL, 0)) == 0) {
81 dbp->set_errcall(dbp, php_dba_db3_errcall_fcn);
84 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
86 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
91 data->dbp = dbp;
97 dbp->close(dbp, 0);
112 dba->dbp->close(dba->dbp, 0);
127 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
147 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
165 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
180 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
192 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
225 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;