json-c  0.12.1
Data Fields
lh_table Struct Reference

Data Fields

int size
 
int count
 
int collisions
 
int resizes
 
int lookups
 
int inserts
 
int deletes
 
const char * name
 
struct lh_entryhead
 
struct lh_entrytail
 
struct lh_entrytable
 
lh_entry_free_fnfree_fn
 
lh_hash_fnhash_fn
 
lh_equal_fnequal_fn
 

Detailed Description

The hash table structure.

Field Documentation

◆ collisions

int lh_table::collisions

Number of collisions.

◆ count

int lh_table::count

Numbers of entries.

◆ deletes

int lh_table::deletes

Number of deletes.

◆ equal_fn

lh_equal_fn* lh_table::equal_fn

◆ free_fn

lh_entry_free_fn* lh_table::free_fn

A pointer onto the function responsible for freeing an entry.

◆ hash_fn

lh_hash_fn* lh_table::hash_fn

◆ head

struct lh_entry* lh_table::head

The first entry.

◆ inserts

int lh_table::inserts

Number of inserts.

◆ lookups

int lh_table::lookups

Number of lookups.

◆ name

const char* lh_table::name

Name of the hash table.

◆ resizes

int lh_table::resizes

Number of resizes.

◆ size

int lh_table::size

Size of our hash.

◆ table

struct lh_entry* lh_table::table

◆ tail

struct lh_entry* lh_table::tail

The last entry.


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