![]() |
JURASSIC
|
In-memory representation of an open per-gas lookup-table file. More...
#include <jurassic.h>
Data Fields | |
| FILE * | fp |
| Open file handle ("rb+"), NULL if not open. More... | |
| int32_t | ntables |
| Number of index entries currently in use. More... | |
| tbl_gas_index_t * | index |
| In-memory index table of length MAX_TABLES. More... | |
| int | dirty |
In-memory representation of an open per-gas lookup-table file.
This structure tracks the file pointer, the number of valid table entries, and the full in-memory index of MAX_TABLES elements. When table blocks are added or replaced, the index is marked dirty and rewritten on close.
Definition at line 1462 of file jurassic.h.
| FILE* tbl_gas_t::fp |
Open file handle ("rb+"), NULL if not open.
Definition at line 1465 of file jurassic.h.
| int32_t tbl_gas_t::ntables |
Number of index entries currently in use.
Definition at line 1468 of file jurassic.h.
| tbl_gas_index_t* tbl_gas_t::index |
In-memory index table of length MAX_TABLES.
Non-zero if index was modified and must be rewritten on close.
Definition at line 1471 of file jurassic.h.
| int tbl_gas_t::dirty |
Definition at line 1474 of file jurassic.h.