Lines Matching refs:dbp
59 DB *dbp; member
65 DB *dbp = NULL; local
109 if ((err=db_create(&dbp, NULL, 0)) == 0) {
110 dbp->set_errcall(dbp, php_dba_db4_errcall_fcn);
113 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
115 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
120 data->dbp = dbp;
126 dbp->close(dbp, 0);
141 dba->dbp->close(dba->dbp, 0);
160 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
183 if (!dba->dbp->put(dba->dbp, NULL, &gkey, &gval,
206 if (!dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) {
224 return dba->dbp->del(dba->dbp, NULL, &gkey, 0) ? FAILURE : SUCCESS;
236 if (dba->dbp->cursor(dba->dbp, NULL, &dba->cursor, 0) != 0) {
282 return dba->dbp->sync(dba->dbp, 0) ? FAILURE : SUCCESS;