Lines Matching refs:dbp
51 DB *dbp; member
57 DB *dbp = NULL; local
90 if ((err=db_create(&dbp, NULL, 0)) == 0) {
91 dbp->set_errcall(dbp, php_dba_db3_errcall_fcn);
94 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
96 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
101 data->dbp = dbp;
107 dbp->close(dbp, 0);
122 dba->dbp->close(dba->dbp, 0);
134 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
151 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
165 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
176 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
188 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
224 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;