Lines Matching refs:info
42 dba_info *pinfo = (dba_info *) info; in DBA_OPEN_FUNC()
44 switch(info->mode) { in DBA_OPEN_FUNC()
61 if(info->argc > 0) { in DBA_OPEN_FUNC()
62 convert_to_long_ex(&info->argv[0]); in DBA_OPEN_FUNC()
63 filemode = Z_LVAL(info->argv[0]); in DBA_OPEN_FUNC()
66 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
74 dbm_close(info->dbf); in DBA_CLOSE_FUNC()
83 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC()
99 if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE)) in DBA_UPDATE_FUNC()
108 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC()
118 return(dbm_delete(info->dbf, gkey) == -1 ? FAILURE : SUCCESS); in DBA_DELETE_FUNC()
126 gkey = dbm_firstkey(info->dbf); in DBA_FIRSTKEY_FUNC()
139 gkey = dbm_nextkey(info->dbf); in DBA_NEXTKEY_FUNC()