IDZEBRA  2.2.7
Data Fields
CFile_head Struct Reference

CFile file header. More...

#include <cfile.h>

Data Fields

int state
 
zint next_block
 
int block_size
 
int hash_size
 
zint first_bucket
 
zint next_bucket
 
zint flat_bucket
 

Detailed Description

CFile file header.

Definition at line 57 of file cfile.h.

Field Documentation

◆ block_size

int CFile_head::block_size

mfile/bfile block size

Definition at line 60 of file cfile.h.

Referenced by cf_open().

◆ first_bucket

zint CFile_head::first_bucket

first hash bucket

Definition at line 62 of file cfile.h.

Referenced by cf_close(), cf_commit_hash(), cf_moveto_flat(), and cf_open().

◆ flat_bucket

zint CFile_head::flat_bucket

last flat bucket + 1

Definition at line 64 of file cfile.h.

Referenced by cf_commit_flat(), cf_open(), and cf_write_flat().

◆ hash_size

int CFile_head::hash_size

no of chains in hash table

Definition at line 61 of file cfile.h.

Referenced by cf_hash(), cf_open(), read_head(), and write_head().

◆ next_block

zint CFile_head::next_block

next free block / last block

Definition at line 59 of file cfile.h.

Referenced by cf_new_flat(), cf_new_hash(), and cf_open().

◆ next_bucket

zint CFile_head::next_bucket

last hash bucket + 1 = first flat bucket

Definition at line 63 of file cfile.h.

Referenced by cf_close(), cf_commit_flat(), cf_commit_hash(), cf_lookup_flat(), cf_moveto_flat(), cf_open(), cf_write_flat(), and new_bucket().

◆ state

int CFile_head::state

CFILE_STATE_HASH, CFILE_STATE_FLAT, ..

Definition at line 58 of file cfile.h.

Referenced by cf_commit(), cf_lookup(), cf_moveto_flat(), cf_new(), and cf_open().


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