Lines Matching refs:info
35 int filemode = info->file_permission; in DBA_OPEN_FUNC()
36 dba_info *pinfo = (dba_info *) info; in DBA_OPEN_FUNC()
38 switch(info->mode) { in DBA_OPEN_FUNC()
55 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
63 dbm_close(info->dbf); in DBA_CLOSE_FUNC()
73 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC()
90 if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE)) in DBA_UPDATE_FUNC()
102 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC()
115 return(dbm_delete(info->dbf, gkey) == -1 ? FAILURE : SUCCESS); in DBA_DELETE_FUNC()
122 gkey = dbm_firstkey(info->dbf); in DBA_FIRSTKEY_FUNC()
133 gkey = dbm_nextkey(info->dbf); in DBA_NEXTKEY_FUNC()