JURASSIC
Data Fields
tbl_gas_t Struct Reference

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_tindex
 In-memory index table of length MAX_TABLES. More...
 
int dirty
 

Detailed Description

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.

Field Documentation

◆ fp

FILE* tbl_gas_t::fp

Open file handle ("rb+"), NULL if not open.

Definition at line 1465 of file jurassic.h.

◆ ntables

int32_t tbl_gas_t::ntables

Number of index entries currently in use.

Definition at line 1468 of file jurassic.h.

◆ index

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.

◆ dirty

int tbl_gas_t::dirty

Definition at line 1474 of file jurassic.h.


The documentation for this struct was generated from the following file: